The (Custom)CallingConvention class contains a convertResultImpl method that gets the FunctionResult, the HTTP request and the HTTP response, but does not get the original XINS FunctionRequest object. However, in one of my projects I need the FunctionRequest. It would be more consistent to also pass the XINS FunctionResult.
I will provide a proposed implementation.
Note that the proposed implementation will keep the old method for backwards compatibility. So existing calling conventions will continue to work unchanged.
Proposed implementation is attached to RFE 2984087.
@Anthony: Can you review?
Note that the FunctionRequest or any other useful information (function name, query parameters only needed for the result, client ip, ...) can be passed using the httpRequest.setAttribute()
This allows more flexibility than just passing the FunctionRequest.