public class HttpClient4 extends Object implements HttpClient
CONNECT_TIMEOUT, DELETE, FOLLOW_REDIRECTS, GET, POST, PUT, READ_TIMEOUT
Constructor and Description |
---|
HttpClient4() |
HttpClient4(HttpClientPool clientPool) |
Modifier and Type | Method and Description |
---|---|
HttpResponseMessage |
execute(HttpMessage request,
Map<String,Object> parameters)
Send an HTTP request and return the response.
|
public HttpClient4()
public HttpClient4(HttpClientPool clientPool)
public HttpResponseMessage execute(HttpMessage request, Map<String,Object> parameters) throws IOException
HttpClient
execute
in interface HttpClient
parameters
- HTTP client parameters, as a map from parameter name to value.
Parameter names are defined as constants below.IOException
Copyright © 2023. All rights reserved.