Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACCEPTED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The request has been accepted for processing, but the processing has not been completed.
- addParam(String) - Method in interface com.atlassian.httpclient.api.FormBuilder
-
Adds a valueless parameter.
- addParam(String, String) - Method in interface com.atlassian.httpclient.api.FormBuilder
-
Adds a parameter and its value.
- ALL - Enum constant in enum class com.atlassian.httpclient.api.factory.CertificateTrustStrategy
-
A trust strategy that accepts all certificates as trusted.
- ALREADY_REPORTED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
WebDAV; RFC 5842
- apply(ResponsePromise) - Method in class com.atlassian.httpclient.api.DefaultResponseTransformation
- apply(ResponsePromise) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
-
Converts the transformation into a promise for further mapping
B
- BAD_GATEWAY - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server was acting as a gateway or proxy and received an invalid response from the upstream server.
- BAD_REQUEST - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The request cannot be fulfilled due to bad syntax.
- badRequest(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'bad request' (400) HTTP responses.
- BANDWIDTH_LIMIT_EXCEEDED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
This status code, while used by many servers, is not specified in any RFCs.
- BannedHostException - Exception Class in com.atlassian.httpclient.api
-
This is to be thrown when a host has been blacklisted by IP and a connection should not be attempted.
- BannedHostException(String) - Constructor for exception class com.atlassian.httpclient.api.BannedHostException
- BLOCKED_BY_WINDOWS_PARENTAL_CONTROLS - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
A Microsoft extension.
- build() - Method in interface com.atlassian.httpclient.api.Buildable
- build() - Method in interface com.atlassian.httpclient.api.EntityBuilder
-
Builds an
EntityBuilder.Entity. - build() - Method in class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyOptionsBuilder
- Buildable<T> - Interface in com.atlassian.httpclient.api
- builder() - Static method in class com.atlassian.httpclient.api.DefaultResponseTransformation
C
- CERT_ERROR - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Nginx internal code used when SSL client certificate error occured to distinguish it from 4XX in a log and an error page redirection.
- CertificateTrustStrategy - Enum Class in com.atlassian.httpclient.api.factory
-
Contains certificate trust strategy options when configuring the HTTP client.
- CLIENT_CLOSED_REQUEST - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Used in Nginx logs to indicate when the connection has been closed by client while the server is still processing its request, making server unable to send a status code back.
- clientError(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'client error' (4xx) HTTP responses.
- code - Variable in enum class com.atlassian.httpclient.api.HttpStatus
- com.atlassian.httpclient.api - package com.atlassian.httpclient.api
- com.atlassian.httpclient.api.factory - package com.atlassian.httpclient.api.factory
- Common<B> - Interface in com.atlassian.httpclient.api
- CONFIGURED - Enum constant in enum class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyMode
- conflict(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'conflict' (409) HTTP responses.
- CONFLICT - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Indicates that the request could not be processed because of conflict in the request, such as an edit conflict.
- CONTINUE - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
This means that the server has received the request headers, and that the client should proceed to send the request body (in the case of a request for which a body needs to be sent; for example, a POST request).
- create() - Static method in class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyOptionsBuilder
-
Create a builder with default options (use what is configured in standard system properties (protocol).proxyHost/(protocol).proxyPort)
- create(HttpClientOptions) - Method in interface com.atlassian.httpclient.api.factory.HttpClientFactory
-
Creates a new instance of
HttpClient - create(HttpClientOptions, ThreadLocalContextManager) - Method in interface com.atlassian.httpclient.api.factory.HttpClientFactory
-
Creates a new instance of
HttpClient - created(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'created' (201) HTTP responses.
- CREATED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The request has been fulfilled and resulted in a new resource being created.
D
- DefaultResponseTransformation<T> - Class in com.atlassian.httpclient.api
- delegate() - Method in class com.atlassian.httpclient.api.RedirectingHttpClient
- delete() - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Executes this request through the
HttpClientservice as aDELETEoperation. - DELETE - Enum constant in enum class com.atlassian.httpclient.api.Request.Method
- dispose(HttpClient) - Method in interface com.atlassian.httpclient.api.factory.HttpClientFactory
-
Disposes the given instance of
HttpClient - done(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform all completed (1xx, 2xx, 3xx, 4xx, and 5xx) HTTP responses.
E
- ENHANCE_YOUR_CALM - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Not part of the HTTP standard, but returned by the Twitter Search and Trends API when the client is being rate limited.
- EntityBuilder - Interface in com.atlassian.httpclient.api
-
A basic contract to be implemented by all entity builders.
- EntityBuilder.Entity - Interface in com.atlassian.httpclient.api
-
Represents a built entity consisting of a set of HTTP headers and an
InputStream. - EntityBuilders - Class in com.atlassian.httpclient.api
-
Provides access to various entity builders
- equals(Object) - Method in class com.atlassian.httpclient.api.factory.Host
- error(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform all error (4xx and 5xx) HTTP responses.
- execute(Request) - Method in interface com.atlassian.httpclient.api.HttpClient
- execute(Request.Method) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Executes this request through the
HttpClientservice using the given HTTP method. - EXPECTATION_FAILED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server cannot meet the requirements of the Expect request-header field.
F
- fail(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform exceptions thrown while executing the HTTP request.
- flushCacheByUriPattern(Pattern) - Method in interface com.atlassian.httpclient.api.HttpClient
-
Flush the cache entries by matching the URI using a regular expression
- flushCacheByUriPattern(Pattern) - Method in class com.atlassian.httpclient.api.RedirectingHttpClient
- forbidden(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'forbidden' (403) HTTP responses.
- FORBIDDEN - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The request was a valid request, but the server is refusing to respond to it.
- FormBuilder - Interface in com.atlassian.httpclient.api
-
Builds url-encoded form entities for use as HTTP request message bodies.
- FOUND - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
This is an example of industry practice contradicting the standard.
G
- GATEWAY_TIMEOUT - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
- get() - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Executes this request through the
HttpClientservice as aGEToperation. - GET - Enum constant in enum class com.atlassian.httpclient.api.Request.Method
- getAccept() - Method in interface com.atlassian.httpclient.api.Request
-
Returns this request's Accept header, if set.
- getAttribute(String) - Method in interface com.atlassian.httpclient.api.Request
-
Gets an attribute from the request.
- getAttributes() - Method in interface com.atlassian.httpclient.api.Request
-
Gets all attributes for this request.
- getBlacklistedAddresses() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getCallbackExecutor() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getCertificateTrustStrategy() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getConnectionPoolTimeToLive() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getConnectionTimeout() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getContentCharset() - Method in interface com.atlassian.httpclient.api.Message
-
Returns the currently set content charset value, if any.
- getContentLength() - Method in interface com.atlassian.httpclient.api.Message
-
Returns the content length for the entity in the message.
- getContentType() - Method in interface com.atlassian.httpclient.api.Message
-
Returns the IANA media type, minus charset information, for the current entity, if any.
- getEntity() - Method in interface com.atlassian.httpclient.api.Message
-
Returns the current entity in
Stringform, if available, converting the underlying entity stream to a string using the currently set content charset, or defaulting to the HTTP standard of "ISO-8859-1" if no content charset has been specified. - getEntityStream() - Method in interface com.atlassian.httpclient.api.Message
-
Returns the current entity as an input stream, or null if not set.
- getFailFunction() - Method in class com.atlassian.httpclient.api.DefaultResponseTransformation
- getFailFunction() - Method in interface com.atlassian.httpclient.api.ResponseTransformation
- getHeader(String) - Method in interface com.atlassian.httpclient.api.Message
-
Returns the specified header by name.
- getHeaders() - Method in interface com.atlassian.httpclient.api.EntityBuilder.Entity
-
Gets all HTTP headers for the represented entity.
- getHeaders() - Method in interface com.atlassian.httpclient.api.Message
-
Returns a map of all headers that have been set on this object.
- getHost() - Method in class com.atlassian.httpclient.api.factory.Host
- getIgnoreCookies() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Whether or not to ignore cookies.
- getInputStream() - Method in interface com.atlassian.httpclient.api.EntityBuilder.Entity
-
Gets the input stream for the built entity.
- getIoSelectInterval() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Determines time interval in milliseconds at which the I/O reactor wakes up to check for timed out sessions and session requests.
- getIoThreadCount() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Determines the number of I/O dispatch threads to be used by the I/O reactor.
- getLeaseTimeout() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getMaxCacheEntries() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getMaxCacheObjectSize() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getMaxCallbackThreadPoolSize() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getMaxConnectionsPerHost() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getMaxEntitySize() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getMaxHeaderLineSize() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getMaxTotalConnections() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getMethod() - Method in interface com.atlassian.httpclient.api.Request
- getNonProxyHosts() - Method in class com.atlassian.httpclient.api.factory.ProxyOptions
- getPort() - Method in class com.atlassian.httpclient.api.factory.Host
- getProxyHosts() - Method in class com.atlassian.httpclient.api.factory.ProxyOptions
-
Get the mapping of schemes and their proxy hosts.
- getProxyMode() - Method in class com.atlassian.httpclient.api.factory.ProxyOptions
- getProxyOptions() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getRequestPreparer() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getRequestTimeout() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getResponse() - Method in exception class com.atlassian.httpclient.api.ResponseTooLargeException
- getResponse() - Method in exception class com.atlassian.httpclient.api.UnexpectedResponseException
-
Returns the unexpected response
- getSocketTimeout() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getStatusCode() - Method in interface com.atlassian.httpclient.api.Response
-
Gets the status code of the response.
- getStatusText() - Method in interface com.atlassian.httpclient.api.Response
-
Gets the status text of the response.
- getSuccessFunctions() - Method in class com.atlassian.httpclient.api.DefaultResponseTransformation
- getSuccessFunctions() - Method in interface com.atlassian.httpclient.api.ResponseTransformation
- getSupportedProtocols() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Gets the supported protocols that are to be used in favor of the protocols specified by the "https.protocols" system property.
- getThreadPrefix() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getThreadWorkQueueLimit() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- getUri() - Method in interface com.atlassian.httpclient.api.Request
-
Returns this request's URI, if set.
- getUserAgent() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- GONE - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Indicates that the resource requested is no longer available and will not be available again.
H
- hasEntity() - Method in interface com.atlassian.httpclient.api.Message
-
Returns whether or not an entity has been set on this object.
- hashCode() - Method in class com.atlassian.httpclient.api.factory.Host
- hasReadEntity() - Method in interface com.atlassian.httpclient.api.Message
-
Returns whether or not the current entity property, if any, has been read from this object.
- head() - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Executes this request through the
HttpClientservice as aHEADoperation. - HEAD - Enum constant in enum class com.atlassian.httpclient.api.Request.Method
- Host - Class in com.atlassian.httpclient.api.factory
-
Represents a host (host name and port).
- Host(String, int) - Constructor for class com.atlassian.httpclient.api.factory.Host
- HostResolver - Interface in com.atlassian.httpclient.api
-
Resolves ip addresses based on a host
- HTTP - Enum constant in enum class com.atlassian.httpclient.api.factory.Scheme
- HTTP_TO_HTTPS - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Nginx internal code used for the plain HTTP requests that are sent to HTTPS port to distinguish it from 4XX in a log and an error page redirection.
- HTTP_VERSION_NOT_SUPPORTED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server does not support the HTTP protocol version used in the request.
- HttpClient - Interface in com.atlassian.httpclient.api
-
A service providing asynchronous HTTP request creation and execution.
- HttpClientFactory - Interface in com.atlassian.httpclient.api.factory
-
Creates configured instances of
HttpClient - HttpClientOptions - Class in com.atlassian.httpclient.api.factory
-
Configuration options for the http client instance and its caching system
- HttpClientOptions() - Constructor for class com.atlassian.httpclient.api.factory.HttpClientOptions
- HTTPS - Enum constant in enum class com.atlassian.httpclient.api.factory.Scheme
- HttpStatus - Enum Class in com.atlassian.httpclient.api
-
HTTP Status code, for reference see: the wikipedia page. Hypertext Transfer Protocol -- HTTP/1.1, RFC 2616 HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV), RFC 4918 Binding Extensions to Web Distributed Authoring and Versioning (WebDAV), RFC 5842 Delta encoding in HTTP, RFC 3229
I
- I_M_A_TEAPOT - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
This code was defined in 1998 as one of the traditional IETF April Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol, and is not expected to be implemented by actual HTTP servers.
- IM_USED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
RFC 3229
- informational(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'informational' (1xx) HTTP responses.
- INSUFFICIENT_STORAGE - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
WebDAV; RFC 4918
- INTERNAL_SERVER_ERROR - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
A generic error message, given when no more specific message is suitable
- internalServerError(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'internal server error' (500) HTTP responses.
- isBadRequest() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Bad Request".
- isCacheDisabled() - Method in interface com.atlassian.httpclient.api.Request
- isClientError() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as "Client Error" (4xx).
- isConflict() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Conflict".
- isCreated() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Created".
- isError() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as either "Client Error" or "Server Error".
- isForbidden() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Forbidden".
- isInformational() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as "Informational" (1xx).
- isInternalServerError() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Internal Server Error".
- isNoContent() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "No Content".
- isNotFound() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Not Found".
- isNotModified() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Not Modified".
- isNotSuccessful() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as one of "Informational", "Redirection", "Client Error" or "Server Error".
- isOk() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "OK".
- isRedirection() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as "Redirection" (3xx).
- isSeeOther() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "See Other".
- isServerError() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as "Server Error" (5xx).
- isServiceUnavailable() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Service Unavailable".
- isSuccessful() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is categorized as "Successful" (2xx).
- isUnauthorized() - Method in interface com.atlassian.httpclient.api.Response
-
Indicates whether or not this response's status code is "Unauthorized".
L
- LENGTH_REQUIRED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The request did not specify the length of its content, which is required by the requested resource.
- LOCKED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The resource that is being accessed is locked.
- LOOP_DETECTED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
WebDAV; RFC 5842
M
- Message - Interface in com.atlassian.httpclient.api
-
An abstract base class for HTTP messages (i.e.
- METHOD_FAILURE - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Indicates the method was not executed on a particular resource within its scope because some part of the method's execution failed causing the entire method to be aborted.
- METHOD_NOT_ALLOWED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
A request was made of a resource using a request method not supported by that resource; for example, using GET on a form which requires data to be presented via POST, or using PUT on a read-only resource.
- MOVED_PERMANENTLY - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
This and all future requests should be directed to the given URI.
- MULTI_STATUS - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
WebDAV; RFC 4918
- MULTIPLE_CHOICES - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Indicates multiple options for the resource that the client may follow.
N
- NETWORK_AUTHENTICATION_REQUIRED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
RFC 6585
- NETWORK_CONNECT_TIMEOUT_ERROR - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
This status code is not specified in any RFCs, but is used by Microsoft Corp.
- NETWORK_READ_TIMEOUT_ERROR - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
This status code is not specified in any RFCs, but is used by Microsoft Corp.
- newForm() - Static method in class com.atlassian.httpclient.api.EntityBuilders
-
Creates a new form entity builder for content-type "application/x-www-form-urlencoded".
- newRequest() - Method in interface com.atlassian.httpclient.api.HttpClient
-
Constructs a new request.
- newRequest() - Method in class com.atlassian.httpclient.api.RedirectingHttpClient
- newRequest(String) - Method in interface com.atlassian.httpclient.api.HttpClient
-
Constructs a new Request with the specified URI.
- newRequest(String) - Method in class com.atlassian.httpclient.api.RedirectingHttpClient
- newRequest(String, String, String) - Method in interface com.atlassian.httpclient.api.HttpClient
-
Constructs a new Request with the specified URI, contentType, and entity.
- newRequest(String, String, String) - Method in class com.atlassian.httpclient.api.RedirectingHttpClient
- newRequest(URI) - Method in interface com.atlassian.httpclient.api.HttpClient
-
Constructs a new Request with the specified URI.
- newRequest(URI) - Method in class com.atlassian.httpclient.api.RedirectingHttpClient
- newRequest(URI, String, String) - Method in interface com.atlassian.httpclient.api.HttpClient
-
Constructs a new Request with the specified URI, contentType, and entity.
- newRequest(URI, String, String) - Method in class com.atlassian.httpclient.api.RedirectingHttpClient
- newUnexpectedResponseFunction() - Static method in class com.atlassian.httpclient.api.ResponsePromises
- NO_CERT - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Nginx internal code used when client didn't provide certificate to distinguish it from 4XX in a log and an error page redirection.
- NO_CONTENT - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server successfully processed the request, but is not returning any content.
- NO_PROXY - Enum constant in enum class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyMode
- NO_RESPONSE - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Used in Nginx logs to indicate that the server has returned no information to the client and closed the connection (useful as a deterrent for malware).
- noContent(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'no content' (204) HTTP responses.
- NON_AUTHORITATIVE_INFORMATION - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server successfully processed the request, but is returning information that may be from another source.
- NONE - Enum constant in enum class com.atlassian.httpclient.api.factory.CertificateTrustStrategy
-
No trust strategy.
- NOT_ACCEPTABLE - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request.
- NOT_EXTENDED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
RFC 2774
- NOT_FOUND - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The requested resource could not be found but may be available again in the future.
- NOT_IMPLEMENTED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server either does not recognize the request method, or it lacks the ability to fulfill the request.
- NOT_MODIFIED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Indicates the resource has not been modified since last requested.
- notFound(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'not found' (404) HTTP responses.
- notModified(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'not modified' (304) HTTP responses.
- notSuccessful(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform all non-'successful' (1xx, 3xx, 4xx, 5xx) HTTP responses.
O
- ok(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'ok' (200) HTTP responses.
- OK - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Standard response for successful HTTP requests.
- on(int, Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform HTTP responses with a specific status code.
- on(HttpStatus, Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform HTTP responses with a specific status.
- OPTION_PROPERTY_PREFIX - Static variable in class com.atlassian.httpclient.api.factory.HttpClientOptions
- OPTION_THREAD_WORK_QUEUE_LIMIT - Static variable in class com.atlassian.httpclient.api.factory.HttpClientOptions
- options() - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Executes this request through the
HttpClientservice as aOPTIONSoperation. - OPTIONS - Enum constant in enum class com.atlassian.httpclient.api.Request.Method
- others(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform all other HTTP responses (i.e. those not explicitly registered for).
- otherwise(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform both of the following events: Any value passed to
fail()Any value passed to others(), converted into an exception
P
- PARTIAL_CONTENT - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server is delivering only part of the resource due to a range header sent by the client.
- PAYMENT_REQUIRED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Reserved for future use.
- PERMANENT_REDIRECT - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The request, and all future requests should be repeated using another URI. 307 and 308 (as proposed) parallel the behaviours of 302 and 301, but do not allow the HTTP method to change.
- post() - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Executes this request through the
HttpClientservice as aPOSToperation. - POST - Enum constant in enum class com.atlassian.httpclient.api.Request.Method
- PRECONDITION_FAILED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server does not meet one of the preconditions that the requester put on the request.
- PRECONDITION_REQUIRED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The origin server requires the request to be conditional.
- PROCESSING - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
WebDAV: RFC 2518
- PROXY_AUTHENTICATION_REQUIRED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The client must first authenticate itself with the proxy.
- ProxyOptions - Class in com.atlassian.httpclient.api.factory
-
Contains proxy configuration for the HTTP client
- ProxyOptions.ProxyMode - Enum Class in com.atlassian.httpclient.api.factory
-
Represents the mode of proxy configuration (i.e. from standard system properties (default), or configured by the library consumer, or no proxy at all)
- ProxyOptions.ProxyOptionsBuilder - Class in com.atlassian.httpclient.api.factory
-
Use this builder to create a ProxyOptions
- ProxyOptionsBuilder() - Constructor for class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyOptionsBuilder
- put() - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Executes this request through the
HttpClientservice as aPUToperation. - PUT - Enum constant in enum class com.atlassian.httpclient.api.Request.Method
R
- RedirectingHttpClient - Class in com.atlassian.httpclient.api
-
An HTTP Client which forwards all its method calls to another HTTP Client.
- RedirectingHttpClient() - Constructor for class com.atlassian.httpclient.api.RedirectingHttpClient
-
Constructor for use by subclasses.
- redirection(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'redirection' (3xx) HTTP responses.
- Request - Interface in com.atlassian.httpclient.api
-
An interface for building and executing HTTP requests.
- REQUEST_ENTITY_TOO_LARGE - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The request is larger than the server is willing or able to process.
- REQUEST_HEADER_FIELDS_TOO_LARGE - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server is unwilling to process the request because either an individual header field, or all the header fields collectively, are too large.[18]
- REQUEST_HEADER_TOO_LARGE - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Nginx internal code similar to 431 but it was introduced earlier.
- REQUEST_RANGE_NOT_SATISFIABLE - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The client has asked for a portion of the file, but the server cannot supply that portion.
- REQUEST_TIMEOUT - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server timed out waiting for the request.
- REQUEST_URI_TOO_LONG - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The URI provided was too long for the server to process.
- Request.Builder - Interface in com.atlassian.httpclient.api
- Request.Method - Enum Class in com.atlassian.httpclient.api
- RESET_CONTENT - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server successfully processed the request, but is not returning any content.
- resolve(String) - Method in interface com.atlassian.httpclient.api.HostResolver
-
Get an array of IP addresses for a host
- Response - Interface in com.atlassian.httpclient.api
-
Represents the result of an HTTP request.
- Response.Builder - Interface in com.atlassian.httpclient.api
- ResponsePromise - Interface in com.atlassian.httpclient.api
-
A specific type of Promise for transforming a promise with a response into another object with functions for different HTTP codes and situations
- ResponsePromises - Class in com.atlassian.httpclient.api
-
Helper methods for working with response promises
- ResponseTooLargeException - Exception Class in com.atlassian.httpclient.api
-
Thrown to indicate that a response was dropped because it contained an entity that was larger than the
configured maximum size. - ResponseTooLargeException(Response, String) - Constructor for exception class com.atlassian.httpclient.api.ResponseTooLargeException
- ResponseTransformation<T> - Interface in com.atlassian.httpclient.api
-
Transforms the
ResponsePromiseinto a target object, allowing for transforming functions based on different HTTP codes or exceptions. - ResponseTransformation.Builder<T> - Interface in com.atlassian.httpclient.api
- ResponseTransformationException - Exception Class in com.atlassian.httpclient.api
- ResponseTransformationException(Throwable) - Constructor for exception class com.atlassian.httpclient.api.ResponseTransformationException
- RETRY_WITH - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
A Microsoft extension.
S
- Scheme - Enum Class in com.atlassian.httpclient.api.factory
-
Represents a scheme for communicating with a host (e.g.
- schemeName() - Method in enum class com.atlassian.httpclient.api.factory.Scheme
- SEE_OTHER - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The response to the request can be found under another URI using a GET method.
- seeOther(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'see other' (303) HTTP responses.
- SELF_SIGNED - Enum constant in enum class com.atlassian.httpclient.api.factory.CertificateTrustStrategy
-
A trust strategy that accepts self-signed certificates as trusted.
- serverError(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'server error' (5xx) HTTP responses.
- SERVICE_UNAVAILABLE - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The server is currently unavailable (because it is overloaded or down for maintenance).Generally, this is a temporary state.
- serviceUnavailable(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'service unavailable' (503) HTTP responses.
- setAccept(String) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Sets the Accept header for the request.
- setAttribute(String, String) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Sets an attribute on the request.
- setAttributes(Map) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Sets attributes on the request.
- setBlacklistedAddresses(List) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setCacheDisabled() - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Bypasses the cache for this request
- setCallbackExecutor(ExecutorService) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setCertificateTrustStrategy(CertificateTrustStrategy) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Sets the certificate trust strategy option
- setConnectionPoolTimeToLive(int, TimeUnit) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setConnectionTimeout(int, TimeUnit) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Sets how long, in milliseconds, to wait for a TCP connection
- setContentCharset(String) - Method in interface com.atlassian.httpclient.api.Common
-
Sets the charset for this object's entity, if any.
- setContentCharset(String) - Method in interface com.atlassian.httpclient.api.Response.Builder
- setContentLength(long) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Set the content length for the message.
- setContentType(String) - Method in interface com.atlassian.httpclient.api.Common
-
Sets the IANA media type, for the current entity, if any.
- setContentType(String) - Method in interface com.atlassian.httpclient.api.Response.Builder
- setEntity(EntityBuilder) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Sets the entity and any associated headers from an entity builder.
- setEntity(String) - Method in interface com.atlassian.httpclient.api.Common
-
Sets this object's entity stream from a string.
- setEntity(String) - Method in interface com.atlassian.httpclient.api.Response.Builder
- setEntityStream(InputStream) - Method in interface com.atlassian.httpclient.api.Common
-
Sets this object's entity as an input stream.
- setEntityStream(InputStream) - Method in interface com.atlassian.httpclient.api.Response.Builder
- setEntityStream(InputStream, String) - Method in interface com.atlassian.httpclient.api.Common
-
Sets this object's entity as an input stream, encoded with the specified charset.
- setEntityStream(InputStream, String) - Method in interface com.atlassian.httpclient.api.Response.Builder
- setHeader(String, String) - Method in interface com.atlassian.httpclient.api.Common
-
Sets an HTTP header on this object.
- setHeader(String, String) - Method in interface com.atlassian.httpclient.api.Request.Builder
- setHeader(String, String) - Method in interface com.atlassian.httpclient.api.Response.Builder
- setHeaders(Map) - Method in interface com.atlassian.httpclient.api.Common
-
Copies the specified map of HTTP headers into this object.
- setHeaders(Map) - Method in interface com.atlassian.httpclient.api.Response.Builder
- setIgnoreCookies(boolean) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setIoSelectInterval(int, TimeUnit) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Defines time interval in milliseconds at which the I/O reactor wakes up to check for timed out sessions and session requests.
- setIoThreadCount(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setLeaseTimeout(long) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setMaxCacheEntries(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setMaxCacheObjectSize(long) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setMaxCallbackThreadPoolSize(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setMaxConnectionsPerHost(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setMaxEntitySize(long) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
param maxEntitySize The maximum entity size in bytes
- setMaxHeaderLineSize(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Set the maximum allowed size for the HTTP response header line.
- setMaxTotalConnections(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setParam(String, List) - Method in interface com.atlassian.httpclient.api.FormBuilder
-
Sets multiple values for the named parameter, resetting any existing values in the process.
- setProxyOptions(ProxyOptions) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Set proxy options for the client
- setRequestPreparer(Consumer) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setRequestTimeout(int, TimeUnit) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setSocketTimeout(int, TimeUnit) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setStatusCode(int) - Method in interface com.atlassian.httpclient.api.Response.Builder
-
Sets the status code of the response.
- setStatusText(String) - Method in interface com.atlassian.httpclient.api.Response.Builder
-
Sets the status text of the response.
- setSupportedProtocols(String...) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Override the default supported protocols specified by the system property "https.protocols"
- setThreadPrefix(String) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setThreadWorkQueueLimit(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- setTrustSelfSignedCertificates(boolean) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Deprecated.
- setUri(URI) - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Sets this request's URI.
- setUserAgent(String) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
- successful(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'successful' (2xx) HTTP responses.
- SWITCH_PROXY - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
No longer used.
- SWITCHING_PROTOCOLS - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
This means the requester has asked the server to switch protocols and the server is acknowledging that it will do so.
- SYSTEM_PROPERTIES - Enum constant in enum class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyMode
T
- TEMPORARY_REDIRECT - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
In this case, the request should be repeated with another URI; however, future requests should still use the original URI.
- TOO_MANY_REQUESTS - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The user has sent too many requests in a given amount of time.
- toResponsePromise(Promise) - Static method in class com.atlassian.httpclient.api.ResponsePromises
- toString() - Method in class com.atlassian.httpclient.api.factory.Host
- toString() - Method in enum class com.atlassian.httpclient.api.HttpStatus
- toString() - Method in exception class com.atlassian.httpclient.api.UnexpectedResponseException
- trace() - Method in interface com.atlassian.httpclient.api.Request.Builder
-
Executes this request through the
HttpClientservice as aTRACEoperation. - TRACE - Enum constant in enum class com.atlassian.httpclient.api.Request.Method
- transform(ResponseTransformation) - Method in interface com.atlassian.httpclient.api.ResponsePromise
-
Helps transforming this response promise into a new promise using
Functionto transform response into a newT. - transformation() - Method in interface com.atlassian.httpclient.api.HttpClient
- trustSelfSignedCertificates() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
-
Deprecated.in 3.1.0, 4.1.0 for removal in 5.0.0. Use
HttpClientOptions.getCertificateTrustStrategy()instead.
U
- unauthorized(Function) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
-
Register a function to transform 'unauthorized' (401) HTTP responses.
- UNAUTHORIZED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.
- UNAVAILABLE_FOR_LEGAL_REASONS - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Defined in the internet draft "A New HTTP Status Code for Legally-restricted Resources".
- UnexpectedResponseException - Exception Class in com.atlassian.httpclient.api
-
Thrown to indicate that a response completed normally but that produced an unexpected status code.
- UnexpectedResponseException(Response) - Constructor for exception class com.atlassian.httpclient.api.UnexpectedResponseException
-
Creates a new exception for the given response.
- UNORDERED_COLLECTION - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
Defined in drafts of "WebDAV Advanced Collections Protocol",[15] but not present in "Web Distributed Authoring and Versioning (WebDAV) Ordered Collections Protocol".[16]
- UNPROCESSABLE_ENTITY - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The request was well-formed but was unable to be followed due to semantic errors.
- UNSUPPORTED_MEDIA_TYPE - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The request entity has a media type which the server or resource does not support.
- UPGRADE_REQUIRED - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
The client should switch to a different protocol such as TLS/1.0.
- USE_PROXY - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
V
- valueOf(String) - Static method in enum class com.atlassian.httpclient.api.factory.CertificateTrustStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.httpclient.api.factory.Scheme
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.httpclient.api.HttpStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.atlassian.httpclient.api.Request.Method
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.atlassian.httpclient.api.factory.CertificateTrustStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.atlassian.httpclient.api.factory.Scheme
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.atlassian.httpclient.api.HttpStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.atlassian.httpclient.api.Request.Method
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VARIANT_ALSO_NEGOTIATES - Enum constant in enum class com.atlassian.httpclient.api.HttpStatus
-
RFC 2295
W
- withDefaultSystemProperties() - Method in class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyOptionsBuilder
-
Obtain proxy configuration for standard system properties (e.g. http.proxyHost, http.proxyPort, http.proxyUser, etc.)
- withNonProxyHost(Scheme, List) - Method in class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyOptionsBuilder
-
Add a list of non-proxy hosts for the given scheme.
- withNoProxy() - Method in class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyOptionsBuilder
-
Use no proxy in the client
- withProxy(Scheme, Host) - Method in class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyOptionsBuilder
-
Add a proxy host for the given scheme.
- withProxy(Map, Map) - Method in class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyOptionsBuilder
-
Configure proxies as per given arguments.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
HttpClientOptions.setCertificateTrustStrategy(CertificateTrustStrategy)instead.