Class HTTPClientApacheImpl
java.lang.Object
com.aeontronix.restclient.http.apache.HTTPClientApacheImpl
- All Implemented Interfaces:
HTTPClient
-
Constructor Summary
ConstructorsConstructorDescriptionHTTPClientApacheImpl(RESTClient.Builder rb, boolean insecure, Integer connectionTimeout) HTTPClientApacheImpl(org.apache.http.impl.client.CloseableHttpClient httpClient) -
Method Summary
Modifier and TypeMethodDescription@NotNull HTTPRequest@NotNull HTTPRequest@NotNull HTTPRequest@NotNull HTTPRequest@NotNull HTTPRequest@NotNull HTTPRequest@NotNull HTTPRequest@NotNull HTTPRequestcreateRequest(@NotNull String method) @NotNull HTTPRequest@NotNull HTTPResponseexecute(HTTPRequest request, RequestParameters requestParameters)
-
Constructor Details
-
HTTPClientApacheImpl
public HTTPClientApacheImpl(org.apache.http.impl.client.CloseableHttpClient httpClient) -
HTTPClientApacheImpl
-
-
Method Details
-
execute
@NotNull public @NotNull HTTPResponse execute(HTTPRequest request, RequestParameters requestParameters) throws IOException - Specified by:
executein interfaceHTTPClient- Throws:
IOException
-
createGetRequest
- Specified by:
createGetRequestin interfaceHTTPClient
-
createPostRequest
- Specified by:
createPostRequestin interfaceHTTPClient
-
createPutRequest
- Specified by:
createPutRequestin interfaceHTTPClient
-
createHeadRequest
- Specified by:
createHeadRequestin interfaceHTTPClient
-
createDeleteRequest
- Specified by:
createDeleteRequestin interfaceHTTPClient
-
createPatchRequest
- Specified by:
createPatchRequestin interfaceHTTPClient
-
createOptionsRequest
- Specified by:
createOptionsRequestin interfaceHTTPClient
-
createTraceRequest
- Specified by:
createTraceRequestin interfaceHTTPClient
-
createRequest
- Specified by:
createRequestin interfaceHTTPClient
-