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

A

ACCEPT - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Informs the server about the mime types of data that can be sent back.
ACCEPT_CH - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Servers can advertise support for Client Hints using the Accept-CH header field or an equivalent HTML <meta> element with http-equiv attribute.
ACCEPT_ENCODING - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
The encoding algorithm, usually a compression algorithm, that can be used on the resource sent back.
ACCEPT_LANGUAGE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Informs the server about the human language the server is expected to send back.
ACCEPT_PUSH_POLICY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
A client can express the desired push policy for a request by sending an Accept-Push-Policy header field in the request.
ACCEPT_RANGES - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates if the server supports range requests, and if so in which unit the range can be expressed.
ACCEPT_SIGNATURE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
A client can send the Accept-Signature header field to indicate intention to take advantage of any available signatures and to indicate what kinds of signatures it supports.
ACCEPTED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The request has been received but not yet acted upon.
ACCESS_CONTROL_ALLOW_CREDENTIALS - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates whether the response to the request can be exposed when the credentials flag is true.
ACCESS_CONTROL_ALLOW_HEADERS - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Used in response to a preflight request to indicate which HTTP headers can be used when making the actual request.
ACCESS_CONTROL_ALLOW_METHODS - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Specifies the methods allowed when accessing the resource in response to a preflight request.
ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates whether the response can be shared.
ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates which headers can be exposed as part of the response by listing their names.
ACCESS_CONTROL_MAX_AGE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates how long the results of a preflight request can be cached.
ACCESS_CONTROL_REQUEST_HEADERS - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Used when issuing a preflight request to let the server know which HTTP headers will be used when the actual request is made.
ACCESS_CONTROL_REQUEST_METHOD - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Used when issuing a preflight request to let the server know which HTTP method will be used when the actual request is made.
addQueries(Map<String, String>) - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper.QueryWrapper
Add multiple query parameters.
AGE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
The time, in seconds, that the object has been in a proxy cache.
ALLOW - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Lists the set of HTTP request methods supported by a resource.
ALREADY_REPORTED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
Used inside a WebDAV response element to avoid repeatedly enumerating the internal members of multiple bindings to the same collection.
ALT_SVC - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Used to list alternate ways to reach this service.
ALT_USED - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Used to identify the alternative service in use.
appendHeader(String, String) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Append a header.
appendHeader(HttpHeader...) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Append a header.
appendHeader(Collection<HttpHeader>) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Append a header.
APPLICATION_ATOM_XML - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
APPLICATION_FORM_URLENCODED - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
APPLICATION_JSON - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
APPLICATION_OCTET_STREAM - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
APPLICATION_SOAP_XML - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
APPLICATION_SVG_XML - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
APPLICATION_XHTML_XML - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
APPLICATION_XML - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
apply() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper.QueryWrapper
Apply the changes to the URL.
AUTHORIZATION - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Contains the credentials to authenticate a user-agent with a server.

B

BAD_GATEWAY - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response.
BAD_REQUEST - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
ByteArrayContent - Class in net.lenni0451.commons.httpclient.content.impl
 
ByteArrayContent(byte[]) - Constructor for class net.lenni0451.commons.httpclient.content.impl.ByteArrayContent
 
ByteArrayContent(byte[], int, int) - Constructor for class net.lenni0451.commons.httpclient.content.impl.ByteArrayContent
 
ByteArrayContent(ContentType, byte[]) - Constructor for class net.lenni0451.commons.httpclient.content.impl.ByteArrayContent
 
ByteArrayContent(ContentType, byte[], int, int) - Constructor for class net.lenni0451.commons.httpclient.content.impl.ByteArrayContent
 
bytes(byte[]) - Static method in class net.lenni0451.commons.httpclient.content.HttpContent
Create a new content from the given bytes.
bytes(byte[], int, int) - Static method in class net.lenni0451.commons.httpclient.content.HttpContent
Create a new content from the given bytes.

C

CACHE_CONTROL - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Directives for caching mechanisms in both requests and responses.
CLEAR_SITE_DATA - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Clears browsing data (e.g. cookies, storage, cache) associated with the requesting website.
clearHeaders() - Method in class net.lenni0451.commons.httpclient.HeaderStore
Clear all headers.
compute() - Method in class net.lenni0451.commons.httpclient.content.HttpContent
 
compute() - Method in class net.lenni0451.commons.httpclient.content.impl.ByteArrayContent
 
compute() - Method in class net.lenni0451.commons.httpclient.content.impl.FileContent
 
compute() - Method in class net.lenni0451.commons.httpclient.content.impl.URLEncodedFormContent
 
CONFLICT - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This response is sent when a request conflicts with the current state of the server.
CONNECTION - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Controls whether the network connection stays open after the current transaction finishes.
content - Variable in class net.lenni0451.commons.httpclient.content.HttpContent
 
CONTENT_DISPOSITION - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates if the resource transmitted should be displayed inline (default behavior without the header), or if it should be handled like a download and the browser should present a "Save As" dialog.
CONTENT_ENCODING - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Used to specify the compression algorithm.
CONTENT_LANGUAGE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Describes the human language(s) intended for the audience, so that it allows a user to differentiate according to the users' own preferred language.
CONTENT_LENGTH - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
The size of the resource, in decimal number of bytes.
CONTENT_LOCATION - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates an alternate location for the returned data.
CONTENT_RANGE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates where in a full body message a partial message belongs.
CONTENT_SECURITY_POLICY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Controls resources the user agent is allowed to load for a given page.
CONTENT_SECURITY_POLICY_REPORT_ONLY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Allows web developers to experiment with policies by monitoring, but not enforcing, their effects.
CONTENT_TYPE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates the media type of the resource.
contentRequest(String, String) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new request with the given method and url.
contentRequest(String, URL) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new request with the given method and url.
ContentType - Class in net.lenni0451.commons.httpclient.model
 
ContentType(String) - Constructor for class net.lenni0451.commons.httpclient.model.ContentType
 
ContentType(String, Charset) - Constructor for class net.lenni0451.commons.httpclient.model.ContentType
 
ContentType(String, String) - Constructor for class net.lenni0451.commons.httpclient.model.ContentType
 
ContentType(String, Charset, String) - Constructor for class net.lenni0451.commons.httpclient.model.ContentType
 
ContentTypes - Class in net.lenni0451.commons.httpclient.constants
 
ContentTypes() - Constructor for class net.lenni0451.commons.httpclient.constants.ContentTypes
 
CONTINUE - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This interim response indicates that the client should continue the request or ignore the response if the request is already finished.
COOKIE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Contains stored HTTP cookies previously sent by the server with the Headers.SET_COOKIE header.
CREATED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The request succeeded, and a new resource was created as a result.
CRITICAL_CH - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Servers use Critical-CH along with Headers.ACCEPT_CH to specify that accepted client hints are also critical client hints.
CROSS_ORIGIN_EMBEDDER_POLICY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Allows a server to declare an embedder policy for a given document.
CROSS_ORIGIN_OPENER_POLICY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Prevents other domains from opening/controlling a window.
CROSS_ORIGIN_RESOURCE_POLICY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Prevents other domains from reading the response of the resources to which this header is applied.

D

DATE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Contains the date and time at which the message was originated.
decode(String) - Static method in class net.lenni0451.commons.httpclient.utils.URLCoder
Decode a string from a URL.
decode(String, Charset) - Static method in class net.lenni0451.commons.httpclient.utils.URLCoder
Decode a string from a URL.
delete(String) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new DELETE request with the given url.
delete(URL) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new DELETE request with the given url.
DeleteRequest - Class in net.lenni0451.commons.httpclient.requests.impl
 
DeleteRequest(String) - Constructor for class net.lenni0451.commons.httpclient.requests.impl.DeleteRequest
 
DeleteRequest(URL) - Constructor for class net.lenni0451.commons.httpclient.requests.impl.DeleteRequest
 
DEVICE_MEMORY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Approximate amount of available client RAM memory.
discard() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper.QueryWrapper
Discard the changes to the URL.
DOWNLINK - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Approximate bandwidth of the client's connection to the server, in Mbps.

E

EARLY_DATA - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates that the request has been conveyed in TLS early data.
EARLY_HINTS - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This status code is primarily intended to be used with the Link header, letting the user agent start preloading resources while the server prepares a response or preconnect to an origin from which the page will need resources.
ECT - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
The effective connection type ("network profile") that best matches the connection's latency and bandwidth.
encode(String) - Static method in class net.lenni0451.commons.httpclient.utils.URLCoder
Encode a string to be used in a URL.
encode(String, Charset) - Static method in class net.lenni0451.commons.httpclient.utils.URLCoder
Encode a string to be used in a URL.
equals(Object) - Method in class net.lenni0451.commons.httpclient.model.ContentType
 
equals(Object) - Method in class net.lenni0451.commons.httpclient.model.HttpHeader
 
ETAG - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
A unique string identifying the version of the resource.
execute(HttpRequest, HttpResponseHandler<R>) - Method in class net.lenni0451.commons.httpclient.HttpClient
Execute a request and pass the response to the response handler.
execute(HttpRequest) - Method in class net.lenni0451.commons.httpclient.HttpClient
Execute a request and return the response.
EXPECT - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates expectations that need to be fulfilled by the server to properly handle the request.
EXPECTATION_FAILED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This response code means the expectation indicated by the Expect request header field cannot be met by the server.
EXPIRES - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
The date/time after which the response is considered stale.

F

FAILED_DEPENDENCY - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The request failed due to failure of a previous request.
file(File) - Static method in class net.lenni0451.commons.httpclient.content.HttpContent
Create a new content from the given file.
FileContent - Class in net.lenni0451.commons.httpclient.content.impl
 
FileContent(File) - Constructor for class net.lenni0451.commons.httpclient.content.impl.FileContent
 
FileContent(ContentType, File) - Constructor for class net.lenni0451.commons.httpclient.content.impl.FileContent
 
FORBIDDEN - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource.
form(String, String) - Static method in class net.lenni0451.commons.httpclient.content.HttpContent
Create a new content from the given form data.
form(Map<String, String>) - Static method in class net.lenni0451.commons.httpclient.content.HttpContent
Create a new content from the given form data.
FORWARDED - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Contains information from the client-facing side of proxy servers that is altered or lost when a proxy is involved in the path of the request.
FROM - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Contains an Internet email address for a human user who controls the requesting user agent.

G

GATEWAY_TIMEOUT - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This error response is given when the server is acting as a gateway and cannot get a response in time.
get(String) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new GET request with the given url.
get(URL) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new GET request with the given url.
getAsBytes() - Method in class net.lenni0451.commons.httpclient.content.HttpContent
 
getAsString() - Method in class net.lenni0451.commons.httpclient.content.HttpContent
 
getAsString(Charset) - Method in class net.lenni0451.commons.httpclient.content.HttpContent
Get the content as a string with the given charset.
getBoundary() - Method in class net.lenni0451.commons.httpclient.model.ContentType
 
getCharset() - Method in class net.lenni0451.commons.httpclient.model.ContentType
 
getConnectTimeout() - Method in class net.lenni0451.commons.httpclient.HttpClient
 
getContent() - Method in class net.lenni0451.commons.httpclient.HttpResponse
 
getContent() - Method in class net.lenni0451.commons.httpclient.requests.HttpContentRequest
 
getContentAsString() - Method in class net.lenni0451.commons.httpclient.HttpResponse
 
getContentAsString(Charset) - Method in class net.lenni0451.commons.httpclient.HttpResponse
Get the response body as a string with the given charset.
getContentLength() - Method in class net.lenni0451.commons.httpclient.content.HttpContent
 
getContentLength() - Method in class net.lenni0451.commons.httpclient.content.impl.ByteArrayContent
 
getContentLength() - Method in class net.lenni0451.commons.httpclient.content.impl.FileContent
 
getContentLength() - Method in class net.lenni0451.commons.httpclient.content.impl.URLEncodedFormContent
 
getContentType() - Method in class net.lenni0451.commons.httpclient.content.HttpContent
 
getContentType() - Method in class net.lenni0451.commons.httpclient.HttpResponse
 
getCookieHeaders(CookieManager, URL) - Static method in class net.lenni0451.commons.httpclient.utils.HttpRequestUtils
Get the cookie headers for a URL.
getCookieManager() - Method in class net.lenni0451.commons.httpclient.HttpClient
 
getCookieManager() - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
 
getFirstHeader(String) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Get the first header with the given name.
getFollowRedirects() - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
 
getHeader(String) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Get a header.
getHeaders() - Method in class net.lenni0451.commons.httpclient.HeaderStore
 
getHost() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
 
getLastHeader(String) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Get the last header with the given name.
getMaxConnectRetries() - Method in class net.lenni0451.commons.httpclient.RetryHandler
Get the maximum amount of connect retries.
getMaxHeaderRetries() - Method in class net.lenni0451.commons.httpclient.RetryHandler
Get the maximum amount of header retries.
getMethod() - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
 
getMimeType() - Method in class net.lenni0451.commons.httpclient.model.ContentType
 
getName() - Method in class net.lenni0451.commons.httpclient.model.HttpHeader
 
getPath() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
 
getPort() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
 
getProtocol() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
 
getQueries() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper.QueryWrapper
 
getQuery() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
 
getQuery(String) - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper.QueryWrapper
Get a query parameter by its key.
getReadTimeout() - Method in class net.lenni0451.commons.httpclient.HttpClient
 
getReference() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
 
GetRequest - Class in net.lenni0451.commons.httpclient.requests.impl
 
GetRequest(String) - Constructor for class net.lenni0451.commons.httpclient.requests.impl.GetRequest
 
GetRequest(URL) - Constructor for class net.lenni0451.commons.httpclient.requests.impl.GetRequest
 
getResponse() - Method in exception net.lenni0451.commons.httpclient.exceptions.HttpRequestException
 
getRetryHandler() - Method in class net.lenni0451.commons.httpclient.HttpClient
 
getRetryHandler() - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
 
getStatusCode() - Method in class net.lenni0451.commons.httpclient.HttpResponse
 
getStatusMessage() - Method in class net.lenni0451.commons.httpclient.HttpResponse
 
getURL() - Method in class net.lenni0451.commons.httpclient.HttpResponse
 
getURL() - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
 
getUserInfo() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
 
getValue() - Method in class net.lenni0451.commons.httpclient.model.HttpHeader
 
GONE - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This response is sent when the requested content has been permanently deleted from server, with no forwarding address.

H

handle(HttpResponse) - Method in interface net.lenni0451.commons.httpclient.handler.HttpResponseHandler
Handle the response and return the result.
handle(HttpResponse) - Method in class net.lenni0451.commons.httpclient.handler.ThrowingResponseHandler
 
hasContent() - Method in class net.lenni0451.commons.httpclient.requests.HttpContentRequest
 
hashCode() - Method in class net.lenni0451.commons.httpclient.model.ContentType
 
hashCode() - Method in class net.lenni0451.commons.httpclient.model.HttpHeader
 
hasHeader(String) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Check if a header is set.
hasHeader(String, String) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Check if a header is set.
hasHeader(HttpHeader) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Check if a header is set.
hasQuery(String) - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper.QueryWrapper
Check if a query parameter exists.
head(String) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new HEAD request with the given url.
head(URL) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new HEAD request with the given url.
Headers - Class in net.lenni0451.commons.httpclient.constants
 
Headers() - Constructor for class net.lenni0451.commons.httpclient.constants.Headers
 
HeaderStore<T extends HeaderStore<T>> - Class in net.lenni0451.commons.httpclient
 
HeaderStore() - Constructor for class net.lenni0451.commons.httpclient.HeaderStore
 
HeaderStore(Map<String, List<String>>) - Constructor for class net.lenni0451.commons.httpclient.HeaderStore
 
HeadRequest - Class in net.lenni0451.commons.httpclient.requests.impl
 
HeadRequest(String) - Constructor for class net.lenni0451.commons.httpclient.requests.impl.HeadRequest
 
HeadRequest(URL) - Constructor for class net.lenni0451.commons.httpclient.requests.impl.HeadRequest
 
HOST - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Specifies the domain name of the server (for virtual hosting), and (optionally) the TCP port number on which the server is listening.
HTTP_VERSION_NOT_SUPPORTED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The HTTP version used in the request is not supported by the server.
HttpClient - Class in net.lenni0451.commons.httpclient
 
HttpClient() - Constructor for class net.lenni0451.commons.httpclient.HttpClient
 
HttpContent - Class in net.lenni0451.commons.httpclient.content
 
HttpContent(ContentType) - Constructor for class net.lenni0451.commons.httpclient.content.HttpContent
 
HttpContentRequest - Class in net.lenni0451.commons.httpclient.requests
 
HttpContentRequest(String, String) - Constructor for class net.lenni0451.commons.httpclient.requests.HttpContentRequest
 
HttpContentRequest(String, URL) - Constructor for class net.lenni0451.commons.httpclient.requests.HttpContentRequest
 
HttpHeader - Class in net.lenni0451.commons.httpclient.model
 
HttpHeader(String, String) - Constructor for class net.lenni0451.commons.httpclient.model.HttpHeader
 
HttpRequest - Class in net.lenni0451.commons.httpclient.requests
 
HttpRequest(String, String) - Constructor for class net.lenni0451.commons.httpclient.requests.HttpRequest
 
HttpRequest(String, URL) - Constructor for class net.lenni0451.commons.httpclient.requests.HttpRequest
 
HttpRequest.FollowRedirects - Enum in net.lenni0451.commons.httpclient.requests
 
HttpRequestBuilder - Interface in net.lenni0451.commons.httpclient
 
HttpRequestException - Exception in net.lenni0451.commons.httpclient.exceptions
 
HttpRequestException(HttpResponse) - Constructor for exception net.lenni0451.commons.httpclient.exceptions.HttpRequestException
 
HttpRequestException(HttpResponse, String) - Constructor for exception net.lenni0451.commons.httpclient.exceptions.HttpRequestException
 
HttpRequestUtils - Class in net.lenni0451.commons.httpclient.utils
 
HttpRequestUtils() - Constructor for class net.lenni0451.commons.httpclient.utils.HttpRequestUtils
 
HttpResponse - Class in net.lenni0451.commons.httpclient
 
HttpResponse(URL, int, byte[], Map<String, List<String>>) - Constructor for class net.lenni0451.commons.httpclient.HttpResponse
 
HttpResponseHandler<R> - Interface in net.lenni0451.commons.httpclient.handler
 

I

identity() - Static method in interface net.lenni0451.commons.httpclient.handler.HttpResponseHandler
 
IF_MATCH - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Makes the request conditional, and applies the method only if the stored resource matches one of the given ETags.
IF_MODIFIED_SINCE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Makes the request conditional, and expects the resource to be transmitted only if it has been modified after the given date.
IF_NONE_MATCH - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Makes the request conditional, and applies the method only if the stored resource doesn't match any of the given ETags.
IF_RANGE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Creates a conditional range request that is only fulfilled if the given etag or date matches the remote resource.
IF_UNMODIFIED_SINCE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Makes the request conditional, and expects the resource to be transmitted only if it has not been modified after the given date.
IM_A_TEAPOT - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The server refuses the attempt to brew coffee with a teapot.
IM_USED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The server has fulfilled a GET request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance.
IMAGE_BMP - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
IMAGE_GIF - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
IMAGE_JPEG - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
IMAGE_PNG - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
IMAGE_SVG - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
IMAGE_TIFF - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
IMAGE_WEBP - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
INSUFFICIENT_STORAGE - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request.
INTERNAL_SERVER_ERROR - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The server has encountered a situation it does not know how to handle.
isCookieManagerSet() - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
 
isFollowRedirects() - Method in class net.lenni0451.commons.httpclient.HttpClient
 
isRetryHandlerSet() - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
 

K

KEEP_ALIVE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Controls how long a persistent connection should stay open.

L

LAST_MODIFIED - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
The last modification date of the resource, used to compare several versions of the same resource.
LENGTH_REQUIRED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
Server rejected the request because the Content-Length header field is not defined and the server requires it.
LINK - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
This entity-header field provides a means for serializing one or more links in HTTP headers.
LOCATION - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates the URL to redirect a page to.
LOCKED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The resource that is being accessed is locked.
LOOP_DETECTED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The server detected an infinite loop while processing the request.

M

MAX_FORWARDS - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
When using https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/TRACE, indicates the maximum number of hops the request can do before being reflected to the sender.
mergeHeaders(Map<String, List<String>>...) - Static method in class net.lenni0451.commons.httpclient.utils.HttpRequestUtils
Merge multiple headers into one map.
METHOD_NOT_ALLOWED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The request method is known by the server but is not supported by the target resource.
MISDIRECTED_REQUEST - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The request was directed at a server that is not able to produce a response.
MOVED_PERMANENTLY - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The URL of the requested resource has been changed permanently.
MOVED_TEMPORARILY - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This response code means that the URI of requested resource has been changed temporarily.
MULTI_STATUS - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
Conveys information about multiple resources, for situations where multiple status codes might be appropriate.
MULTIPART_FORM_DATA - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
MULTIPLE_CHOICES - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The request has more than one possible response.

N

NEL - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Defines a mechanism that enables developers to declare a network error reporting policy.
net.lenni0451.commons.httpclient - package net.lenni0451.commons.httpclient
 
net.lenni0451.commons.httpclient.constants - package net.lenni0451.commons.httpclient.constants
 
net.lenni0451.commons.httpclient.content - package net.lenni0451.commons.httpclient.content
 
net.lenni0451.commons.httpclient.content.impl - package net.lenni0451.commons.httpclient.content.impl
 
net.lenni0451.commons.httpclient.exceptions - package net.lenni0451.commons.httpclient.exceptions
 
net.lenni0451.commons.httpclient.handler - package net.lenni0451.commons.httpclient.handler
 
net.lenni0451.commons.httpclient.model - package net.lenni0451.commons.httpclient.model
 
net.lenni0451.commons.httpclient.requests - package net.lenni0451.commons.httpclient.requests
 
net.lenni0451.commons.httpclient.requests.impl - package net.lenni0451.commons.httpclient.requests.impl
 
net.lenni0451.commons.httpclient.utils - package net.lenni0451.commons.httpclient.utils
 
NETWORK_AUTHENTICATION_REQUIRED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
Indicates that the client needs to authenticate to gain network access.
NO_CONTENT - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
There is no content to send for this request, but the headers may be useful.
NON_AUTHORITATIVE_INFORMATION - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This response code means the returned metadata is not exactly the same as is available from the origin server, but is collected from a local or a third-party copy.
NOT_ACCEPTABLE - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This response is sent when the web server, after performing server-driven content negotiation, doesn't find any content that conforms to the criteria given by the user agent.
NOT_EXTENDED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
Further extensions to the request are required for the server to fulfill it.
NOT_FOUND - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The server cannot find the requested resource.
NOT_IMPLEMENTED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The request method is not supported by the server and cannot be handled.
NOT_MODIFIED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This is used for caching purposes.

O

OK - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The request succeeded.
ORIGIN - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates where a fetch originates from.
ORIGIN_ISOLATION - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Provides a mechanism to allow web applications to isolate their origins.

P

parse(String) - Static method in class net.lenni0451.commons.httpclient.model.ContentType
Parse a content type string.
parseHttpDate(String) - Static method in class net.lenni0451.commons.httpclient.utils.HttpRequestUtils
Parse a HTTP date.
parseSecondsOrHttpDate(String) - Static method in class net.lenni0451.commons.httpclient.utils.HttpRequestUtils
Parse an HTTP date or seconds string as milliseconds until the date.
PARTIAL_CONTENT - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This response code is used when the Range header is sent from the client to request only part of a resource.
PAYLOAD_TOO_LARGE - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
Request entity is larger than limits defined by server.
PAYMENT_REQUIRED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This response code is reserved for future use.
PERMANENT_REDIRECT - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This means that the resource is now permanently located at another URI, specified by the Location: HTTP Response header.
PERMISSIONS_POLICY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Provides a mechanism to allow and deny the use of browser features in a website's own frame, and in iframes that it embeds.
post(String) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new POST request with the given url.
post(URL) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new POST request with the given url.
PostRequest - Class in net.lenni0451.commons.httpclient.requests.impl
 
PostRequest(String) - Constructor for class net.lenni0451.commons.httpclient.requests.impl.PostRequest
 
PostRequest(URL) - Constructor for class net.lenni0451.commons.httpclient.requests.impl.PostRequest
 
PRAGMA - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Implementation-specific header that may have various effects anywhere along the request-response chain.
PRECONDITION_FAILED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The client has indicated preconditions in its headers which the server does not meet.
PRECONDITION_REQUIRED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The origin server requires the request to be conditional.
PROCESSING - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This code indicates that the server has received and is processing the request, but no response is available yet.
PROXY_AUTHENTICATE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Defines the authentication method that should be used to access a resource behind a proxy server.
PROXY_AUTHENTICATION_REQUIRED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This is similar to 401 Unauthorized but authentication is needed to be done by a proxy.
PROXY_AUTHORIZATION - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Contains the credentials to authenticate a user agent with a proxy server.
PUSH_POLICY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
A Push-Policy defines the server behavior regarding push when processing a request.
put(String, String) - Method in class net.lenni0451.commons.httpclient.content.impl.URLEncodedFormContent
Add a new entry to the form.
put(String) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new PUT request with the given url.
put(URL) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new PUT request with the given url.
PutRequest - Class in net.lenni0451.commons.httpclient.requests.impl
 
PutRequest(String) - Constructor for class net.lenni0451.commons.httpclient.requests.impl.PutRequest
 
PutRequest(URL) - Constructor for class net.lenni0451.commons.httpclient.requests.impl.PutRequest
 

R

RANGE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates the part of a document that the server should return.
RANGE_NOT_SATISFIABLE - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The range specified by the Range header field in the request cannot be fulfilled.
readBody(HttpURLConnection) - Static method in class net.lenni0451.commons.httpclient.utils.HttpRequestUtils
Read the body of a connection.
readFromStream(InputStream) - Static method in class net.lenni0451.commons.httpclient.utils.HttpRequestUtils
Read the body of a connection.
REFERER - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
The address of the previous web page from which a link to the currently requested page was followed.
REFERRER_POLICY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Governs which referrer information sent in the Headers.REFERER header should be included with requests made.
REFRESH - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Directs the browser to reload the page or redirect to another.
removeHeader(String) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Remove a header.
removeQuery(String) - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper.QueryWrapper
Remove a query parameter.
REPORT_TO - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Used to specify a server endpoint for the browser to send warning and error reports to.
request(String, String) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new request with the given method and url.
request(String, URL) - Method in interface net.lenni0451.commons.httpclient.HttpRequestBuilder
Create a new request with the given method and url.
REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The server is unwilling to process the request because its header fields are too large.
REQUEST_TIMEOUT - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This response is sent on an idle connection by some servers, even without any previous request by the client.
RESET_CONTENT - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
Tells the user agent to reset the document which sent this request.
RETRY_AFTER - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates how long the user agent should wait before making a follow-up request.
RetryExceededException - Exception in net.lenni0451.commons.httpclient.exceptions
 
RetryExceededException(HttpResponse) - Constructor for exception net.lenni0451.commons.httpclient.exceptions.RetryExceededException
 
RetryExceededException(HttpResponse, String) - Constructor for exception net.lenni0451.commons.httpclient.exceptions.RetryExceededException
 
RetryHandler - Class in net.lenni0451.commons.httpclient
 
RetryHandler() - Constructor for class net.lenni0451.commons.httpclient.RetryHandler
 
RetryHandler(int, int) - Constructor for class net.lenni0451.commons.httpclient.RetryHandler
 
RTT - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Application layer round trip time (RTT) in milliseconds, which includes the server processing time.

S

SAVE_DATA - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
A string on that indicates the user agent's preference for reduced data usage.
SEC_CH_UA - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
User agent's branding and version.
SEC_CH_UA_ARCH - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
User agent's underlying platform architecture.
SEC_CH_UA_BITNESS - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
User agent's underlying CPU architecture bitness (for example "64" bit).
SEC_CH_UA_FULL_VERSION_LIST - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Full version for each brand in the user agent's brand list.
SEC_CH_UA_MOBILE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
User agent is running on a mobile device or, more generally, prefers a "mobile" user experience.
SEC_CH_UA_MODEL - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
User agent's device model.
SEC_CH_UA_PLATFORM - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
User agent's underlying operation system/platform.
SEC_CH_UA_PLATFORM_VERSION - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
User agent's underlying operation system version.
SEC_CH_UA_PREFERS_COLOR_SCHEME - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
User's preference of dark or light color scheme.
SEC_CH_UA_PREFERS_REDUCED_MOTION - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
User's preference to see fewer animations and content layout shifts.
SEC_FETCH_DEST - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates the request's destination.
SEC_FETCH_MODE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates the request's mode to a server.
SEC_FETCH_SITE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates the relationship between a request initiator's origin and its target's origin.
SEC_FETCH_USER - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates whether or not a navigation request was triggered by user activation.
SEC_GPC - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates whether the user consents to a website or service selling or sharing their personal information with third parties.
SEC_PURPOSE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates the purpose of the request, when the purpose is something other than immediate use by the user-agent.
SEE_OTHER - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The server sent this response to direct the client to get the requested resource at another URI with a GET request.
SERVER - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Contains information about the software used by the origin server to handle the request.
SERVER_TIMING - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Communicates one or more metrics and descriptions for the given request-response cycle.
SERVICE_UNAVAILABLE - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The server is not ready to handle the request.
SERVICE_WORKER_ALLOWED - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Used to remove the path restriction by including this header in the response of the Service Worker script.
SERVICE_WORKER_NAVIGATION_PRELOAD - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
A request header sent in preemptive request to fetch() a resource during service worker boot.
SET_COOKIE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Send cookies from the server to the user-agent.
setConnectTimeout(int) - Method in class net.lenni0451.commons.httpclient.HttpClient
Set the connect timeout for all requests.
setContent(HttpContent) - Method in class net.lenni0451.commons.httpclient.requests.HttpContentRequest
Set the content of this request.
setCookieManager(CookieManager) - Method in class net.lenni0451.commons.httpclient.HttpClient
Set the cookie manager to use for all requests.
setCookieManager(CookieManager) - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
Set the cookie manager to use for this request.
setFollowRedirects(boolean) - Method in class net.lenni0451.commons.httpclient.HttpClient
Set whether redirects should be followed.
setFollowRedirects(boolean) - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
Set if redirects should be followed.
setFollowRedirects(HttpRequest.FollowRedirects) - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
Set if redirects should be followed.
setHeader(String, String) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Set a header.
setHeader(HttpHeader...) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Set a header.
setHeader(Collection<HttpHeader>) - Method in class net.lenni0451.commons.httpclient.HeaderStore
Set a header.
setHeaders(HttpURLConnection, Map<String, List<String>>) - Static method in class net.lenni0451.commons.httpclient.utils.HttpRequestUtils
Set the headers for a connection.
setHost(String) - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
Set the host of the URL.
setMaxConnectRetries(int) - Method in class net.lenni0451.commons.httpclient.RetryHandler
Set the maximum amount of connect retries.
setMaxHeaderRetries(int) - Method in class net.lenni0451.commons.httpclient.RetryHandler
Set the maximum amount of header retries.
setPath(String) - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
Set the file of the URL.
setPort(int) - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
Set the port of the URL.
setProtocol(String) - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
Set the protocol of the URL.
setQuery(String, String) - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper.QueryWrapper
Set a query parameter.
setQuery(String) - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
Set the query of the URL.
setReadTimeout(int) - Method in class net.lenni0451.commons.httpclient.HttpClient
Set the read timeout for all requests.
setReference(String) - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
Set the reference of the URL.
setRetryHandler(RetryHandler) - Method in class net.lenni0451.commons.httpclient.HttpClient
Set the retry handler for all requests.
setRetryHandler(RetryHandler) - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
Set the retry handler to use for this request.
setUserInfo(String) - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
Set the user info of the URL.
SIGNATURE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
The Signature header field conveys a list of signatures for an exchange, each one accompanied by information about how to determine the authority of and refresh that signature.
SIGNED_HEADERS - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
The Signed-Headers header field identifies an ordered list of response header fields to include in a signature.
SOURCEMAP - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Links generated code to a source map.
STATUS_CODES - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
A map of all status codes and their messages.
StatusCodes - Class in net.lenni0451.commons.httpclient.constants
 
StatusCodes() - Constructor for class net.lenni0451.commons.httpclient.constants.StatusCodes
 
STRICT_TRANSPORT_SECURITY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Force communication using HTTPS instead of HTTP.
string(String) - Static method in class net.lenni0451.commons.httpclient.content.HttpContent
Create a new content from the given string.
string(String, Charset) - Static method in class net.lenni0451.commons.httpclient.content.HttpContent
Create a new content from the given string.
StringContent - Class in net.lenni0451.commons.httpclient.content.impl
 
StringContent(String) - Constructor for class net.lenni0451.commons.httpclient.content.impl.StringContent
 
StringContent(String, Charset) - Constructor for class net.lenni0451.commons.httpclient.content.impl.StringContent
 
StringContent(ContentType, String) - Constructor for class net.lenni0451.commons.httpclient.content.impl.StringContent
 
StringContent(ContentType, String, Charset) - Constructor for class net.lenni0451.commons.httpclient.content.impl.StringContent
 
SUPPORTS_LOADING_MODE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Set by a navigation target to opt-in to using various higher-risk loading modes.
SWITCHING_PROTOCOLS - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This code is sent in response to an Upgrade request header from the client and indicates the protocol the server is switching to.

T

TE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Specifies the transfer encodings the user agent is willing to accept.
TEMPORARY_REDIRECT - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The server sends this response to direct the client to get the requested resource at another URI with the same method that was used in the prior request.
TEXT_HTML - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
TEXT_PLAIN - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
TEXT_XML - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
ThrowingResponseHandler - Class in net.lenni0451.commons.httpclient.handler
 
ThrowingResponseHandler() - Constructor for class net.lenni0451.commons.httpclient.handler.ThrowingResponseHandler
 
TIMING_ALLOW_ORIGIN - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Specifies origins that are allowed to see values of attributes retrieved via features of the Resource Timing API, which would otherwise be reported as zero due to cross-origin restrictions.
TOO_EARLY - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
Indicates that the server is unwilling to risk processing a request that might be replayed.
TOO_MANY_REQUESTS - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The user has sent too many requests in a given amount of time ("rate limiting").
toString() - Method in class net.lenni0451.commons.httpclient.model.ContentType
 
toString() - Method in class net.lenni0451.commons.httpclient.model.HttpHeader
 
toString() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
 
toURL() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
 
TRAILER - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Allows the sender to include additional fields at the end of chunked message.
TRANSFER_ENCODING - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Specifies the form of encoding used to safely transfer the resource to the user.

U

UNAUTHORIZED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated".
UNAVAILABLE_FOR_LEGAL_REASONS - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The user agent requested a resource that cannot legally be provided, such as a web page censored by a government.
UNPROCESSABLE_CONTENT - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The request was well-formed but was unable to be followed due to semantic errors.
unsetCookieManager() - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
Unset the cookie manager.
unsetRetryHandler() - Method in class net.lenni0451.commons.httpclient.requests.HttpRequest
Unset the retry handler.
UNSUPPORTED_MEDIA_TYPE - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The media format of the requested data is not supported by the server, so the server is rejecting the request.
UNUSED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
This response code is no longer used; it is just reserved.
updateCookies(CookieManager, URL, Map<String, List<String>>) - Static method in class net.lenni0451.commons.httpclient.utils.HttpRequestUtils
Update the cookies for a URL.
UPGRADE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
This HTTP/1.1 (only) header can be used to upgrade an already established client/server connection to a different protocol (over the same transport protocol).
UPGRADE_INSECURE_REQUESTS - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Sends a signal to the server expressing the client's preference for an encrypted and authenticated response, and that it can successfully handle the upgrade-insecure-requests directive.
UPGRADE_REQUIRED - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol.
URI_TOO_LONG - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The URI requested by the client is longer than the server is willing to interpret.
URLCoder - Class in net.lenni0451.commons.httpclient.utils
 
URLCoder() - Constructor for class net.lenni0451.commons.httpclient.utils.URLCoder
 
URLEncodedFormContent - Class in net.lenni0451.commons.httpclient.content.impl
 
URLEncodedFormContent() - Constructor for class net.lenni0451.commons.httpclient.content.impl.URLEncodedFormContent
 
URLEncodedFormContent(Map<String, String>) - Constructor for class net.lenni0451.commons.httpclient.content.impl.URLEncodedFormContent
 
URLEncodedFormContent(Charset) - Constructor for class net.lenni0451.commons.httpclient.content.impl.URLEncodedFormContent
 
URLEncodedFormContent(Map<String, String>, Charset) - Constructor for class net.lenni0451.commons.httpclient.content.impl.URLEncodedFormContent
 
URLWrapper - Class in net.lenni0451.commons.httpclient.utils
 
URLWrapper() - Constructor for class net.lenni0451.commons.httpclient.utils.URLWrapper
 
URLWrapper(String) - Constructor for class net.lenni0451.commons.httpclient.utils.URLWrapper
 
URLWrapper(URL) - Constructor for class net.lenni0451.commons.httpclient.utils.URLWrapper
 
URLWrapper(URI) - Constructor for class net.lenni0451.commons.httpclient.utils.URLWrapper
 
URLWrapper.QueryWrapper - Class in net.lenni0451.commons.httpclient.utils
 
USE_PROXY - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
Defined in a previous version of the HTTP specification to indicate that a requested response must be accessed by a proxy.
USER_AGENT - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Contains a characteristic string that allows the network protocol peers to identify the application type, operating system, software vendor or software version of the requesting software user agent.

V

valueOf(String) - Static method in enum net.lenni0451.commons.httpclient.requests.HttpRequest.FollowRedirects
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.lenni0451.commons.httpclient.requests.HttpRequest.FollowRedirects
Returns an array containing the constants of this enum type, in the order they are declared.
VARIANT_ALSO_NEGOTIATES - Static variable in class net.lenni0451.commons.httpclient.constants.StatusCodes
The server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.
VARY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Determines how to match request headers to decide whether a cached response can be used rather than requesting a fresh one from the origin server.
VIA - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Added by proxies, both forward and reverse proxies, and can appear in the request headers and the response headers.

W

WARNING - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
General warning information about possible problems.
WILDCARD - Static variable in class net.lenni0451.commons.httpclient.constants.ContentTypes
 
wrapQuery() - Method in class net.lenni0451.commons.httpclient.utils.URLWrapper
Get a wrapper for the query parameters.
WWW_AUTHENTICATE - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Defines the authentication method that should be used to access a resource.

X

X_CONTENT_TYPE_OPTIONS - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Disables MIME sniffing and forces browser to use the type given in Headers.CONTENT_TYPE.
X_DNS_PREFETCH_CONTROL - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Controls DNS prefetching, a feature by which browsers proactively perform domain name resolution on both links that the user may choose to follow as well as URLs for items referenced by the document, including images, CSS, JavaScript, and so forth.
X_FORWARDED_FOR - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Identifies the originating IP addresses of a client connecting to a web server through an HTTP proxy or a load balancer.
X_FORWARDED_HOST - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Identifies the original host requested that a client used to connect to your proxy or load balancer.
X_FORWARDED_PROTO - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Identifies the protocol (HTTP or HTTPS) that a client used to connect to your proxy or load balancer.
X_FRAME_OPTIONS - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Indicates whether a browser should be allowed to render a page in a frame, iframe, embed or object.
X_PERMITTED_CROSS_DOMAIN_POLICIES - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Specifies if a cross-domain policy file (crossdomain.xml) is allowed.
X_POWERED_BY - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
May be set by hosting environments or other frameworks and contains information about them while not providing any usefulness to the application or its visitors.
X_ROBOTS_TAG - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
The X-Robots-Tag HTTP header is used to indicate how a web page is to be indexed within public search engine results.
X_XSS_PROTECTION - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
Enables cross-site scripting filtering.
A B C D E F G H I K L M N O P R S T U V W X 
Skip navigation links