Class HttpConnectorImpl
java.lang.Object
org.camunda.connect.impl.AbstractConnector<Q,R>
org.camunda.connect.httpclient.impl.AbstractHttpConnector<HttpRequest,HttpResponse>
org.camunda.connect.httpclient.impl.HttpConnectorImpl
- All Implemented Interfaces:
HttpConnector
,Connector<HttpRequest>
public class HttpConnectorImpl
extends AbstractHttpConnector<HttpRequest,HttpResponse>
implements HttpConnector
-
Field Summary
Fields inherited from class org.camunda.connect.httpclient.impl.AbstractHttpConnector
charset, httpClient, LOG
Fields inherited from class org.camunda.connect.impl.AbstractConnector
connectorId, requestInterceptors
Fields inherited from interface org.camunda.connect.httpclient.HttpConnector
ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a request on the connector.protected HttpResponse
createResponse
(org.apache.http.client.methods.CloseableHttpResponse response) Methods inherited from class org.camunda.connect.httpclient.impl.AbstractHttpConnector
applyConfig, applyHeaders, applyPayload, createClient, createHttpRequest, createHttpRequestBase, execute, 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, execute, getId, getRequestInterceptors, setRequestInterceptors
-
Constructor Details
-
HttpConnectorImpl
public HttpConnectorImpl() -
HttpConnectorImpl
-
-
Method Details
-
createRequest
Description copied from interface:Connector
Create a request on the connector.- Specified by:
createRequest
in interfaceConnector<HttpRequest>
- Specified by:
createRequest
in classAbstractHttpConnector<HttpRequest,
HttpResponse> - Returns:
- the connector-specific request object.
-
createResponse
protected HttpResponse createResponse(org.apache.http.client.methods.CloseableHttpResponse response) - Specified by:
createResponse
in classAbstractHttpConnector<HttpRequest,
HttpResponse>
-