Skip navigation links
A B C D E F G H I M N O P R S T U V W _ 

A

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

B

basicAuth(String, String) - Method in class com.jsunsoft.http.HttpRequestBuilder
Basic Authentication - sending the Authorization header.
beforeRetry(WebTarget) - Method in interface com.jsunsoft.http.RetryContext
The method will be called before retry
Beta - Annotation Type in com.jsunsoft.http.annotations
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
build() - Method in class com.jsunsoft.http.ClientBuilder
Build CloseableHttpClient
build() - Method in class com.jsunsoft.http.HttpRequestBuilder
Build the HttpRequest instance

C

ClientBuilder - Class in com.jsunsoft.http
Builder for CloseableHttpClient.
com.jsunsoft.http - package com.jsunsoft.http
 
com.jsunsoft.http.annotations - package com.jsunsoft.http.annotations
 
compareTo(TypeReference<T>) - Method in class com.jsunsoft.http.TypeReference
The only reason we define this method (and require implementation of Comparable) is to prevent constructing a reference without type information.
connectionRequestTimeout(int) - Method in class com.jsunsoft.http.ClientBuilder
The timeout in milliseconds used when requesting a connection from the connection manager.
create() - Static method in class com.jsunsoft.http.ClientBuilder
 
create(CloseableHttpClient) - Static method in class com.jsunsoft.http.HttpRequestBuilder
 

D

DateDeserializeContext - Interface in com.jsunsoft.http
 
delete() - Method in interface com.jsunsoft.http.WebTarget
 
delete(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
 
delete(HttpEntity, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
delete(HttpEntity, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
delete(String, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
delete(String, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
delete(String) - Method in interface com.jsunsoft.http.WebTarget
 
delete(Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
delete(TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 

E

enableDefaultRedirectStrategy() - Method in class com.jsunsoft.http.ClientBuilder
By default, only GET requests resulting in a redirect are automatically followed.
enableLaxRedirectStrategy() - Method in class com.jsunsoft.http.ClientBuilder
By default, only GET requests resulting in a redirect are automatically followed.

F

filter(Predicate<ResponseHandler<T>>) - Method in class com.jsunsoft.http.FilterSupport
 
filter(Predicate<ResponseHandler<T>>) - Method in interface com.jsunsoft.http.ResponseHandler
 
FilterSupport<T> - Class in com.jsunsoft.http
 

G

get() - Method in interface com.jsunsoft.http.ResponseHandler
Strongly recommend call get method after check content is present.
get() - Method in interface com.jsunsoft.http.WebTarget
Invoke HTTP GET method for the current request
get(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
Invoke HTTP GET method for the current request
get(HttpEntity, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
get(HttpEntity, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
get(String, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
get(String, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
get(Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
get(TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
get(String) - Method in interface com.jsunsoft.http.WebTarget
 
getContent() - Method in interface com.jsunsoft.http.ResponseBodyReaderContext
 
getContentAsString() - Method in interface com.jsunsoft.http.ResponseBodyReaderContext
 
getContentLength() - Method in exception com.jsunsoft.http.InvalidContentLengthException
 
getContentLength() - Method in interface com.jsunsoft.http.ResponseBodyReadableContext
Tells the length of the content, if known.
getContentType() - Method in interface com.jsunsoft.http.ResponseBodyReadableContext
 
getContentType() - Method in interface com.jsunsoft.http.ResponseHandler
 
getDatePattern() - Method in interface com.jsunsoft.http.DateDeserializeContext
 
getDateTimePattern() - Method in interface com.jsunsoft.http.DateDeserializeContext
 
getErrorText() - Method in interface com.jsunsoft.http.ResponseHandler
 
getHttpEntity() - Method in interface com.jsunsoft.http.ResponseBodyReaderContext
 
getMimeType() - Method in exception com.jsunsoft.http.InvalidMimeTypeException
 
getOrThrow(Supplier<X>) - Method in interface com.jsunsoft.http.ResponseHandler
 
getOrThrow(T, Supplier<X>) - Method in interface com.jsunsoft.http.ResponseHandler
 
getRetryCount() - Method in interface com.jsunsoft.http.RetryContext
 
getRetryDelay(Response) - Method in interface com.jsunsoft.http.RetryContext
 
getStatusCode() - Method in interface com.jsunsoft.http.Response
 
getStatusCode() - Method in interface com.jsunsoft.http.ResponseBodyReadableContext
 
getStatusCode() - Method in exception com.jsunsoft.http.ResponseException
 
getStatusCode() - Method in interface com.jsunsoft.http.ResponseHandler
 
getStatusLine() - Method in interface com.jsunsoft.http.ResponseBodyReadableContext
 
getStatusLine() - Method in interface com.jsunsoft.http.ResponseHandler
Obtains the status line of this response.
getTimePattern() - Method in interface com.jsunsoft.http.DateDeserializeContext
 
getType() - Method in interface com.jsunsoft.http.ResponseBodyReadableContext
 
getType() - Method in class com.jsunsoft.http.TypeReference
 
getURI() - Method in interface com.jsunsoft.http.Response
 
getURI() - Method in exception com.jsunsoft.http.ResponseException
 
getURI() - Method in interface com.jsunsoft.http.ResponseHandler
 

H

hasContent() - Method in interface com.jsunsoft.http.ResponseHandler
 
hasNotContent() - Method in interface com.jsunsoft.http.ResponseHandler
 
head() - Method in interface com.jsunsoft.http.WebTarget
 
head(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
 
head(HttpEntity, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
head(HttpEntity, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
head(String, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
head(String, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
head(String) - Method in interface com.jsunsoft.http.WebTarget
 
head(Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
head(TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
hostnameVerifier(HostnameVerifier) - Method in class com.jsunsoft.http.ClientBuilder
HttpMethod - Enum in com.jsunsoft.http
 
HttpRequest - Interface in com.jsunsoft.http
HttpRequest is the main entry point to the API used to build and execute client requests.
HttpRequestBuilder - Class in com.jsunsoft.http
Http request builder
HttpRequestBuildException - Exception in com.jsunsoft.http
 

I

ifHasContent(Consumer<? super T>) - Method in interface com.jsunsoft.http.ResponseHandler
If has a content, invoke the specified consumer with the content, otherwise do nothing.
ifNotPassed(Consumer<ResponseHandler<T>>) - Method in class com.jsunsoft.http.FilterSupport
 
ifNotSuccess(Consumer<ResponseHandler<T>>) - Method in interface com.jsunsoft.http.ResponseHandler
If status code is not success , invoke the specified consumer with the responseHandler.
ifPassed(Consumer<ResponseHandler<T>>) - Method in class com.jsunsoft.http.FilterSupport
 
ifSuccess(Consumer<ResponseHandler<T>>) - Method in interface com.jsunsoft.http.ResponseHandler
If status code is success , invoke the specified consumer with the responseHandler and returns OtherwiseSupport with ignore else OtherwiseSupport with not ignore.
InvalidContentLengthException - Exception in com.jsunsoft.http
 
InvalidMimeTypeException - Exception in com.jsunsoft.http
 
InvalidMimeTypeException(String, String) - Constructor for exception com.jsunsoft.http.InvalidMimeTypeException
Create a new InvalidContentTypeException for the given content type.
isNonSuccess() - Method in interface com.jsunsoft.http.ResponseHandler
 
isReadable(ResponseBodyReadableContext) - Method in interface com.jsunsoft.http.ResponseBodyReader
 
isSuccess() - Method in interface com.jsunsoft.http.ResponseHandler
 

M

mustBeRetried(Response) - Method in interface com.jsunsoft.http.RetryContext
 

N

NoSuchContentException - Exception in com.jsunsoft.http
 

O

options() - Method in interface com.jsunsoft.http.WebTarget
 
options(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
 
options(HttpEntity, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
options(HttpEntity, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
options(String, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
options(String, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
options(String) - Method in interface com.jsunsoft.http.WebTarget
 
options(Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
options(TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
orElse(T) - Method in interface com.jsunsoft.http.ResponseHandler
 
orElseThrow(T) - Method in interface com.jsunsoft.http.ResponseHandler
 
orElseThrow() - Method in interface com.jsunsoft.http.ResponseHandler
 
orThrow(Function<ResponseHandler<? super T>, X>) - Method in interface com.jsunsoft.http.ResponseHandler
 
orThrow(T, Function<ResponseHandler<? super T>, X>) - Method in interface com.jsunsoft.http.ResponseHandler
 
otherwise(Consumer<ResponseHandler<T>>) - Method in class com.jsunsoft.http.OtherwiseSupport
Support action otherwise.
OtherwiseSupport<T> - Class in com.jsunsoft.http
 

P

patch() - Method in interface com.jsunsoft.http.WebTarget
 
patch(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
 
patch(HttpEntity, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
patch(HttpEntity, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
patch(String, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
patch(String, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
patch(String) - Method in interface com.jsunsoft.http.WebTarget
 
patch(Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
patch(TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
path(String) - Method in interface com.jsunsoft.http.WebTarget
Append path to the URI of the current target instance.
post() - Method in interface com.jsunsoft.http.WebTarget
 
post(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
 
post(HttpEntity, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
post(HttpEntity, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
post(String, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
post(String, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
post(String) - Method in interface com.jsunsoft.http.WebTarget
 
post(Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
post(TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
proxy(HttpHost) - Method in class com.jsunsoft.http.ClientBuilder
Added proxy host.
proxy(URI) - Method in class com.jsunsoft.http.ClientBuilder
Added proxy by proxyUri.
proxy(String, int) - Method in class com.jsunsoft.http.ClientBuilder
 
put() - Method in interface com.jsunsoft.http.WebTarget
 
put(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
 
put(HttpEntity, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
put(HttpEntity, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
put(String, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
put(String, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
put(String) - Method in interface com.jsunsoft.http.WebTarget
 
put(Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
put(TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 

R

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
The same as WebTarget.request(HttpMethod, HttpEntity, Class) wrapped payload into StringEntity
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
 

S

setConnectTimeout(int) - Method in class com.jsunsoft.http.ClientBuilder
Determines the timeout in milliseconds until a connection is established.
setDefaultMaxPoolSizePerRoute(int) - Method in class com.jsunsoft.http.ClientBuilder
 
setDefaultResponseBodyReader(ResponseBodyReader<?>) - Method in class com.jsunsoft.http.HttpRequestBuilder
 
setMaxPoolSize(int) - Method in class com.jsunsoft.http.ClientBuilder
 
setMaxPoolSizePerRoute(HttpHost, int) - Method in class com.jsunsoft.http.ClientBuilder
Set the connection pool default max size of concurrent connections to a specific route
setRequestConfig(RequestConfig) - Method in interface com.jsunsoft.http.WebTarget
Sets the requestConfig to the request
setUseDefaultReader(boolean) - Method in class com.jsunsoft.http.HttpRequestBuilder
 
socketTimeOut(int) - Method in class com.jsunsoft.http.ClientBuilder
Defines the socket timeout (SO_TIMEOUT) in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets).
sslContext(SSLContext) - Method in class com.jsunsoft.http.ClientBuilder
stringReader() - Static method in interface com.jsunsoft.http.ResponseBodyReader
 

T

target(URI) - Method in interface com.jsunsoft.http.HttpRequest
Build a new web resource target.
target(String) - Method in interface com.jsunsoft.http.HttpRequest
Build a new web resource target.
trace() - Method in interface com.jsunsoft.http.WebTarget
 
trace(HttpEntity) - Method in interface com.jsunsoft.http.WebTarget
 
trace(HttpEntity, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
trace(HttpEntity, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
trace(String, Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
trace(String, TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
trace(String) - Method in interface com.jsunsoft.http.WebTarget
 
trace(Class<T>) - Method in interface com.jsunsoft.http.WebTarget
 
trace(TypeReference<T>) - Method in interface com.jsunsoft.http.WebTarget
 
trustAllCertificates() - Method in class com.jsunsoft.http.ClientBuilder
Accept all certificates
trustAllHosts() - Method in class com.jsunsoft.http.ClientBuilder
Accept all hosts
TypeReference<T> - Class in com.jsunsoft.http
This generic abstract class is used for obtaining full generics type information Class is based on ideas from http://gafter.blogspot.com/2006/12/super-type-tokens.html, Additional idea (from a suggestion made in comments of the article) is to require bogus implementation of Comparable (any such generic interface would do, as long as it forces a method with generic type to be implemented).
TypeReference() - Constructor for class com.jsunsoft.http.TypeReference
 

U

UnexpectedResponseException - Exception in com.jsunsoft.http
Signals an unexpected HTTP response
UnexpectedResponseException(int, String, URI) - Constructor for exception com.jsunsoft.http.UnexpectedResponseException
 
UnexpectedStatusCodeException - Exception in com.jsunsoft.http
Signals a non 2xx HTTP response.
UnexpectedStatusCodeException(int, String, URI) - Constructor for exception com.jsunsoft.http.UnexpectedStatusCodeException
 
updateHeader(Header) - Method in interface com.jsunsoft.http.WebTarget
Replaces the first occurence of the header with the same name.
updateHeader(String, String) - Method in interface com.jsunsoft.http.WebTarget
Replaces the first occurence of the header with the same name by the value.
useDefaultProxy() - Method in class com.jsunsoft.http.ClientBuilder
Instruct HttpClient to use the standard JRE proxy selector to obtain proxy.

V

valueOf(String) - Static method in enum com.jsunsoft.http.HttpMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.jsunsoft.http.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebTarget - Interface in com.jsunsoft.http
A resource target identified by the resource URI.

_

_type - Variable in class com.jsunsoft.http.TypeReference
 
A B C D E F G H I M N O P R S T U V W _ 
Skip navigation links

Copyright © 2020. All rights reserved.