public interface ConnectorInvocation
ConnectorRequestInterceptor.handleInvocation(ConnectorInvocation)| Modifier and Type | Method and Description |
|---|---|
ConnectorRequest<?> |
getRequest()
The connector request as created through the API.
|
Object |
getTarget()
The underlying raw request.
|
Object |
proceed()
Makes the request proceed through the interceptor chain.
|
Object getTarget()
ConnectorRequest<?> getRequest()
The connector request as created through the API. Accessing the request from an
interceptor may be useful for setting additional properties on the raw request
(returned by getTarget()) that are not supported by the connector.
NOTE: setting parameters on the request (via) ConnectorRequest.setRequestParameter(String, Object)
will not have any effects once the request is executed.
Object proceed() throws Exception
ConnectorRequestInterceptor implementations are responsible for
calling this method on the invocation.ExceptionCopyright © 2018 camunda services GmbH. All rights reserved.