Class CustomApacheHttpClient
java.lang.Object
io.camunda.connector.http.base.client.apache.CustomApacheHttpClient
- All Implemented Interfaces:
HttpClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(HttpCommonRequest request, ExecutionEnvironment executionEnvironment) Converts the givenHttpCommonRequestto an ApacheClassicHttpRequestand executes it.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.connector.http.base.client.HttpClient
execute
-
Constructor Details
-
CustomApacheHttpClient
public CustomApacheHttpClient()
-
-
Method Details
-
execute
public HttpCommonResult execute(HttpCommonRequest request, @Nullable ExecutionEnvironment executionEnvironment) Converts the givenHttpCommonRequestto an ApacheClassicHttpRequestand executes it.This method is thread-safe.
- Specified by:
executein interfaceHttpClient- Parameters:
request- the request to executeexecutionEnvironment- theExecutionEnvironmentwe are in- Returns:
- the
HttpCommonResult
-