- addBodyReader(ResponseBodyReader<?>) - Method in class com.jsunsoft.http.HttpRequestBuilder
-
- addContentType(ContentType) - Method in class com.jsunsoft.http.ClientBuilder
-
Sets content type to header
- addContentType(ContentType) - Method in class com.jsunsoft.http.HttpRequestBuilder
-
Sets content type to header
- addContentType(ContentType) - Method in interface com.jsunsoft.http.WebTarget
-
Sets content type to header
- addDefaultHeader(String, String) - Method in class com.jsunsoft.http.ClientBuilder
-
Header needs to be the same for all requests which go through the built CloseableHttpClient
- addDefaultHeader(Header) - Method in class com.jsunsoft.http.ClientBuilder
-
Header needs to be the same for all requests which go through the built CloseableHttpClient
- addDefaultHeader(String, String) - Method in class com.jsunsoft.http.HttpRequestBuilder
-
Header needs to be the same for all requests which go through the built HttpRequest
- addDefaultHeader(Header) - Method in class com.jsunsoft.http.HttpRequestBuilder
-
Header needs to be the same for all requests which go through the built HttpRequest
- addDefaultHeaders(Header...) - Method in class com.jsunsoft.http.ClientBuilder
-
Headers need to be the same for all requests which go through the built CloseableHttpClient
- addDefaultHeaders(Collection<? extends Header>) - Method in class com.jsunsoft.http.ClientBuilder
-
Headers need to be the same for all requests which go through the built CloseableHttpClient
- addDefaultHeaders(Header...) - Method in class com.jsunsoft.http.HttpRequestBuilder
-
Headers need to be the same for all requests which go through the built HttpRequest
- addDefaultHeaders(Collection<? extends Header>) - Method in class com.jsunsoft.http.HttpRequestBuilder
-
Headers need to be the same for all requests which go through the built HttpRequest
- addDefaultRequestConfigCustomizer(Consumer<RequestConfig.Builder>) - Method in class com.jsunsoft.http.ClientBuilder
-
- addDefaultRequestParameter(String, String) - Method in class com.jsunsoft.http.HttpRequestBuilder
-
Parameter needs to be add for all requests which go through the built HttpRequest
- addDefaultRequestParameter(NameValuePair...) - Method in class com.jsunsoft.http.HttpRequestBuilder
-
Parameters need to be add for all requests which go through the built HttpRequest
- addDefaultRequestParameter(NameValuePair) - Method in class com.jsunsoft.http.HttpRequestBuilder
-
Parameter needs to be add for all requests which go through the built HttpRequest
- addDefaultRequestParameter(Map<String, String>) - Method in class com.jsunsoft.http.HttpRequestBuilder
-
Parameters needs to be add for all requests which go through the built HttpRequest
- addDefaultRequestParameter(Collection<? extends NameValuePair>) - Method in class com.jsunsoft.http.HttpRequestBuilder
-
Parameters needs to be add for all requests which go through the built HttpRequest
- addHeader(Header) - Method in interface com.jsunsoft.http.WebTarget
-
Adds the given header to the request.
- addHeader(String, String) - Method in interface com.jsunsoft.http.WebTarget
-
Adds the given name and value as header to the request.
- addHeaders(Collection<? extends Header>) - Method in interface com.jsunsoft.http.WebTarget
-
Adds the given headers to the request.
- addHttpClientCustomizer(Consumer<HttpClientBuilder>) - Method in class com.jsunsoft.http.ClientBuilder
-
The method takes the
Consumer
instance which gives the
HttpClientBuilder
instance to customize
the
CloseableHttpClient
before the http-request is built
- addParameter(NameValuePair) - Method in interface com.jsunsoft.http.WebTarget
-
Added parameter into request
- addParameter(String, String) - Method in interface com.jsunsoft.http.WebTarget
-
Add parameter into request name as request parameter name value as request parameter value
- addParameters(NameValuePair...) - Method in interface com.jsunsoft.http.WebTarget
-
Add parameters into request
- addParameters(String, Charset) - Method in interface com.jsunsoft.http.WebTarget
-
Add parameters from queryString.
- addParameters(String) - Method in interface com.jsunsoft.http.WebTarget
-
Add parameters from queryString.
- addParameters(String...) - Method in interface com.jsunsoft.http.WebTarget
-
Add parameters into request as [nameValues[0]: nameValues[1], nameValues[2]: nameValues[3], ...
- addParameters(Collection<? extends NameValuePair>) - Method in interface com.jsunsoft.http.WebTarget
-
Add parameters into request
- addParameters(Map<String, String>) - Method in interface com.jsunsoft.http.WebTarget
-
Add parameters into request key as request parameter name Value as request parameter value
- rawDelete() - Method in interface com.jsunsoft.http.WebTarget
-
- rawDelete(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP DELETE method for the current request
- rawDelete(String) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP DELETE method for the current request
- rawGet() - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP GET method for the current request
- rawGet(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP GET method for the current request
- rawGet(String) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP GET method for the current request
- rawHead() - Method in interface com.jsunsoft.http.WebTarget
-
- rawHead(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP HEAD method for the current request
- rawHead(String) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP HEAD method for the current request
- rawOptions() - Method in interface com.jsunsoft.http.WebTarget
-
- rawOptions(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP OPTIONS method for the current request
- rawOptions(String) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP OPTIONS method for the current request
- rawPatch() - Method in interface com.jsunsoft.http.WebTarget
-
- rawPatch(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP PATCH method for the current request
- rawPatch(String) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP PATCH method for the current request
- rawPost() - Method in interface com.jsunsoft.http.WebTarget
-
- rawPost(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP POST method for the current request
- rawPost(String) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP POST method for the current request
- rawPut() - Method in interface com.jsunsoft.http.WebTarget
-
- rawPut(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP PUT method for the current request
- rawPut(String) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke HTTP PUT method for the current request
- rawRequest(HttpMethod) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke an arbitrary method for the current request.
- rawRequest(HttpMethod, HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke an arbitrary method for the current request.
- rawRequest(HttpMethod, String) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke an arbitrary method for the current request.
- rawTrace() - Method in interface com.jsunsoft.http.WebTarget
-
- read(ResponseBodyReaderContext) - Method in interface com.jsunsoft.http.ResponseBodyReader
-
Method receives httpEntity of the response then deserialized to type T
- redirectStrategy(RedirectStrategy) - Method in class com.jsunsoft.http.ClientBuilder
-
By default disabled.
- removeHeader(Header) - Method in interface com.jsunsoft.http.WebTarget
-
Removes the given header.
- removeHeaders(String) - Method in interface com.jsunsoft.http.WebTarget
-
Removes all headers with name.
- request(HttpMethod) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke an arbitrary method for the current request.
- request(HttpMethod, HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke an arbitrary method for the current request.
- request(HttpMethod, HttpEntity, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke an arbitrary method for the current request.
- request(HttpMethod, HttpEntity, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke an arbitrary method for the current request.
- request(HttpMethod, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke an arbitrary method for the current request.
- request(HttpMethod, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
-
Invoke an arbitrary method for the current request.
- request(HttpMethod, String, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
-
- request(HttpMethod, String, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
-
- request(HttpMethod, String) - Method in interface com.jsunsoft.http.WebTarget
-
- RequestException - Exception in com.jsunsoft.http
-
Signals an error in the HTTP protocol.
- RequestException() - Constructor for exception com.jsunsoft.http.RequestException
-
- RequestException(String) - Constructor for exception com.jsunsoft.http.RequestException
-
- RequestException(Throwable) - Constructor for exception com.jsunsoft.http.RequestException
-
- RequestException(String, Throwable) - Constructor for exception com.jsunsoft.http.RequestException
-
- Response - Interface in com.jsunsoft.http
-
- ResponseBodyReadableContext - Interface in com.jsunsoft.http
-
- ResponseBodyReader<T> - Interface in com.jsunsoft.http
-
Implementation of this interface must provided deserialization of response body to type T
- ResponseBodyReaderContext - Interface in com.jsunsoft.http
-
- ResponseBodyReaderException - Exception in com.jsunsoft.http
-
- ResponseBodyReaderException(String, Throwable) - Constructor for exception com.jsunsoft.http.ResponseBodyReaderException
-
- ResponseBodyReaderException(Throwable) - Constructor for exception com.jsunsoft.http.ResponseBodyReaderException
-
- ResponseBodyReaderException(String) - Constructor for exception com.jsunsoft.http.ResponseBodyReaderException
-
- ResponseBodyReaderNotFoundException - Exception in com.jsunsoft.http
-
- ResponseBodyReaderNotFoundException(String, Throwable) - Constructor for exception com.jsunsoft.http.ResponseBodyReaderNotFoundException
-
- ResponseBodyReaderNotFoundException(Throwable) - Constructor for exception com.jsunsoft.http.ResponseBodyReaderNotFoundException
-
- ResponseBodyReaderNotFoundException(String) - Constructor for exception com.jsunsoft.http.ResponseBodyReaderNotFoundException
-
- ResponseException - Exception in com.jsunsoft.http
-
Signals an HTTP response processing error
- ResponseException(int, String, URI) - Constructor for exception com.jsunsoft.http.ResponseException
-
- ResponseException(int, URI, Throwable) - Constructor for exception com.jsunsoft.http.ResponseException
-
- ResponseException(int, String, URI, Throwable) - Constructor for exception com.jsunsoft.http.ResponseException
-
- ResponseHandler<T> - Interface in com.jsunsoft.http
-
ResponseHandler objects are immutable they can be shared.
- retryableTarget(URI, RetryContext) - Method in interface com.jsunsoft.http.HttpRequest
-
- retryableTarget(String, RetryContext) - Method in interface com.jsunsoft.http.HttpRequest
-
- RetryContext - Interface in com.jsunsoft.http
-