- 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
-
- 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.
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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.
- 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.
- X_CONTENT_TYPE_OPTIONS - Static variable in class net.lenni0451.commons.httpclient.constants.Headers
-
- 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.