Uses of Class
com.landawn.abacus.http.HttpSettings
-
Uses of HttpSettings in com.landawn.abacus.http
Modifier and TypeMethodDescriptionHttpSettings.copy()
static HttpSettings
HttpSettings.create()
HttpSettings.doInput
(boolean doInput) Note: Only forHttpClient
, not forOKHttpClient
.HttpSettings.doOutput
(boolean doOutput) Note: Only forHttpClient
, not forOKHttpClient
.Set http header specified byname/value
.HttpSettings.headers
(HttpHeaders headers) Removes all headers on thisHttpSettings
and addsheaders
.Set http headers specified byname1/value1
,name2/value2
.HttpSettings.headers
(String name1, Object value1, String name2, Object value2, String name3, Object value3) Set http headers specified byname1/value1
,name2/value2
,name3/value3
.Set http headers specified by the key/value entities fromMap
.HttpSettings.isOneWayRequest
(boolean isOneWayRequest) Checks if is one way request.HttpSettings.setConnectionTimeout
(int connectionTimeout) Note: Only forHttpClient
, not forOKHttpClient
.HttpSettings.setContentEncoding
(String contentEncoding) HttpSettings.setContentFormat
(ContentFormat contentFormat) Sets the content format.HttpSettings.setContentType
(String contentType) HttpSettings.setReadTimeout
(int readTimeout) Note: Only forHttpClient
, not forOKHttpClient
.HttpSettings.setSSLSocketFactory
(SSLSocketFactory sslSocketFactory) Sets the SSL socket factory.HttpSettings.setUseCaches
(boolean useCaches) Note: Only forHttpClient
, not forOKHttpClient
.Modifier and TypeMethodDescriptionHttpClient.asyncDelete
(HttpSettings settings) <T> ContinuableFuture<T>
HttpClient.asyncDelete
(Class<T> resultClass, HttpSettings settings) <T> ContinuableFuture<T>
HttpClient.asyncDelete
(Class<T> resultClass, Object queryParameters, HttpSettings settings) HttpClient.asyncDelete
(Object queryParameters, HttpSettings settings) HttpClient.asyncExecute
(HttpMethod httpMethod, Object request, HttpSettings settings) HttpClient.asyncExecute
(File output, HttpMethod httpMethod, Object request, HttpSettings settings) HttpClient.asyncExecute
(OutputStream output, HttpMethod httpMethod, Object request, HttpSettings settings) HttpClient.asyncExecute
(Writer output, HttpMethod httpMethod, Object request, HttpSettings settings) <T> ContinuableFuture<T>
HttpClient.asyncExecute
(Class<T> resultClass, HttpMethod httpMethod, Object request, HttpSettings settings) HttpClient.asyncGet
(HttpSettings settings) <T> ContinuableFuture<T>
HttpClient.asyncGet
(Class<T> resultClass, HttpSettings settings) <T> ContinuableFuture<T>
HttpClient.asyncGet
(Class<T> resultClass, Object queryParameters, HttpSettings settings) HttpClient.asyncGet
(Object queryParameters, HttpSettings settings) <T> ContinuableFuture<T>
HttpClient.asyncPost
(Class<T> resultClass, Object request, HttpSettings settings) HttpClient.asyncPost
(Object request, HttpSettings settings) <T> ContinuableFuture<T>
HttpClient.asyncPut
(Class<T> resultClass, Object request, HttpSettings settings) HttpClient.asyncPut
(Object request, HttpSettings settings) static HttpClient
HttpClient.create
(String url, int maxConnection, long connectionTimeoutInMillis, long readTimeoutInMillis, HttpSettings settings) static HttpClient
HttpClient.create
(String url, int maxConnection, long connectionTimeoutInMillis, long readTimeoutInMillis, HttpSettings settings, AtomicInteger sharedActiveConnectionCounter) static HttpClient
HttpClient.create
(String url, int maxConnection, long connectionTimeoutInMillis, long readTimeoutInMillis, HttpSettings settings, AtomicInteger sharedActiveConnectionCounter, Executor executor) static HttpClient
HttpClient.create
(String url, int maxConnection, long connectionTimeoutInMillis, long readTimeoutInMillis, HttpSettings settings, Executor executor) HttpClient.delete
(HttpSettings settings) <T> T
HttpClient.delete
(Class<T> resultClass, HttpSettings settings) <T> T
HttpClient.delete
(Class<T> resultClass, Object queryParameters, HttpSettings settings) HttpClient.delete
(Object queryParameters, HttpSettings settings) HttpClient.execute
(HttpMethod httpMethod, Object request, HttpSettings settings) void
HttpClient.execute
(File output, HttpMethod httpMethod, Object request, HttpSettings settings) void
HttpClient.execute
(OutputStream output, HttpMethod httpMethod, Object request, HttpSettings settings) void
HttpClient.execute
(Writer output, HttpMethod httpMethod, Object request, HttpSettings settings) <T> T
HttpClient.execute
(Class<T> resultClass, HttpMethod httpMethod, Object request, HttpSettings settings) HttpClient.get
(HttpSettings settings) <T> T
HttpClient.get
(Class<T> resultClass, HttpSettings settings) <T> T
HttpClient.get
(Class<T> resultClass, Object queryParameters, HttpSettings settings) HttpClient.get
(Object queryParameters, HttpSettings settings) static String
HttpUtil.getAccept
(HttpSettings httpSettings) static String
HttpUtil.getAcceptCharset
(HttpSettings httpSettings) static String
HttpUtil.getAcceptEncoding
(HttpSettings httpSettings) static String
HttpUtil.getContentEncoding
(HttpSettings httpSettings) static String
HttpUtil.getContentType
(HttpSettings httpSettings) <T> T
HttpClient.post
(Class<T> resultClass, Object request, HttpSettings settings) HttpClient.post
(Object request, HttpSettings settings) <T> T
HttpClient.put
(Class<T> resultClass, Object request, HttpSettings settings) HttpClient.put
(Object request, HttpSettings settings)