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 nulloperationId - operation identifier; must not be nullrequest - that will be processed; must not be nullparams - with which the operation will be called; must not be nullexecutionContext - for the operation invocation; must not be nullHttpRequest.