Class SoapHttpConnectorImpl
java.lang.Object
org.camunda.connect.impl.AbstractConnector<Q,R>
org.camunda.connect.httpclient.impl.AbstractHttpConnector<SoapHttpRequest,SoapHttpResponse>
org.camunda.connect.httpclient.soap.impl.SoapHttpConnectorImpl
- All Implemented Interfaces:
SoapHttpConnector
,Connector<SoapHttpRequest>
public class SoapHttpConnectorImpl
extends AbstractHttpConnector<SoapHttpRequest,SoapHttpResponse>
implements SoapHttpConnector
-
Field Summary
Fields inherited from class org.camunda.connect.httpclient.impl.AbstractHttpConnector
charset, httpClient
Fields inherited from class org.camunda.connect.impl.AbstractConnector
connectorId, requestInterceptors
Fields inherited from interface org.camunda.connect.httpclient.soap.SoapHttpConnector
ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends org.apache.http.client.methods.HttpRequestBase>
voidapplyPayload
(T httpRequest, SoapHttpRequest request) Create a request on the connector.protected SoapHttpResponse
createResponse
(org.apache.http.client.methods.CloseableHttpResponse response) execute
(SoapHttpRequest request) Execute the request on the connector.Methods inherited from class org.camunda.connect.httpclient.impl.AbstractHttpConnector
applyConfig, applyHeaders, createClient, createHttpRequest, createHttpRequestBase, getHttpClient, handleErrorResponse, httpMethodSupportsPayload, setHttpClient
Methods inherited from class org.camunda.connect.impl.AbstractConnector
addRequestInterceptor, addRequestInterceptors, getId, getRequestInterceptors, setRequestInterceptors
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.camunda.connect.spi.Connector
addRequestInterceptor, addRequestInterceptors, getId, getRequestInterceptors, setRequestInterceptors
-
Field Details
-
LOG
-
-
Constructor Details
-
SoapHttpConnectorImpl
public SoapHttpConnectorImpl() -
SoapHttpConnectorImpl
-
-
Method Details
-
createRequest
Description copied from interface:Connector
Create a request on the connector.- Specified by:
createRequest
in interfaceConnector<SoapHttpRequest>
- Specified by:
createRequest
in classAbstractHttpConnector<SoapHttpRequest,
SoapHttpResponse> - Returns:
- the connector-specific request object.
-
createResponse
protected SoapHttpResponse createResponse(org.apache.http.client.methods.CloseableHttpResponse response) - Specified by:
createResponse
in classAbstractHttpConnector<SoapHttpRequest,
SoapHttpResponse>
-
execute
Description copied from interface:Connector
Execute the request on the connector.- Specified by:
execute
in interfaceConnector<SoapHttpRequest>
- Overrides:
execute
in classAbstractHttpConnector<SoapHttpRequest,
SoapHttpResponse> - Parameters:
request
- the request- Returns:
- the result.
-
applyPayload
protected <T extends org.apache.http.client.methods.HttpRequestBase> void applyPayload(T httpRequest, SoapHttpRequest request) - Overrides:
applyPayload
in classAbstractHttpConnector<SoapHttpRequest,
SoapHttpResponse>
-