public interface RequestPreProcessor
HttpRequest
that will be used for invoking the REST
operation. Example for this is an authentication processor.Modifier and Type | Method and Description |
---|---|
com.vmware.vapi.internal.protocol.client.rpc.HttpRequest |
handle(java.lang.String serviceId,
java.lang.String operationId,
com.vmware.vapi.internal.protocol.client.rpc.HttpRequest request,
DataValue params,
ExecutionContext executionContext)
Pre-process
HttpRequest before sending it to the caller. |
com.vmware.vapi.internal.protocol.client.rpc.HttpRequest handle(java.lang.String serviceId, java.lang.String operationId, com.vmware.vapi.internal.protocol.client.rpc.HttpRequest request, DataValue params, ExecutionContext executionContext)
HttpRequest
before sending it to the caller.
Exceptions thrown from this method will be ignored.
serviceId
- service identifier; must not be null
operationId
- operation identifier; must not be null
request
- that will be processed; must not be null
params
- with which the operation will be called; must not be null
executionContext
- for the operation invocation; must not be null
HttpRequest
.