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

A

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.
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

badRequest(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'bad request' (400) HTTP responses.
BannedHostException - Exception 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 com.atlassian.httpclient.api.BannedHostException
 
build() - Method in interface com.atlassian.httpclient.api.Buildable
 
build() - Method in interface com.atlassian.httpclient.api.EntityBuilder
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

clientError(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'client error' (4xx) HTTP responses.
code - Variable in enum 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 extends Common<B>> - Interface in com.atlassian.httpclient.api
 
conflict(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'conflict' (409) HTTP responses.
create(HttpClientOptions) - Method in interface com.atlassian.httpclient.api.factory.HttpClientFactory
Creates a new instance of HttpClient
create(HttpClientOptions, ThreadLocalContextManager<C>) - Method in interface com.atlassian.httpclient.api.factory.HttpClientFactory
Creates a new instance of HttpClient
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)
created(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'created' (201) HTTP responses.

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 HttpClient service as a DELETE operation.
dispose(HttpClient) - Method in interface com.atlassian.httpclient.api.factory.HttpClientFactory
Disposes the given instance of HttpClient
done(Function<Response, T>) - 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

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<Response, ? extends T>) - 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 HttpClient service using the given HTTP method.

F

fail(Function<Throwable, ? extends T>) - 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<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'forbidden' (403) HTTP responses.
FormBuilder - Interface in com.atlassian.httpclient.api
Builds url-encoded form entities for use as HTTP request message bodies.

G

get() - Method in interface com.atlassian.httpclient.api.Request.Builder
Executes this request through the HttpClient service as a GET operation.
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
 
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 String form, 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 com.atlassian.httpclient.api.ResponseTooLargeException
 
getResponse() - Method in exception 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
 

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 HttpClient service as a HEAD operation.
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
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
 
HttpStatus - Enum 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

informational(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'informational' (1xx) HTTP responses.
internalServerError(Function<Response, ? extends T>) - 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".

M

Message - Interface in com.atlassian.httpclient.api
An abstract base class for HTTP messages (i.e.

N

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(URI) - Method in interface com.atlassian.httpclient.api.HttpClient
Constructs a new Request with the specified URI.
newRequest(String) - Method in interface com.atlassian.httpclient.api.HttpClient
Constructs a new Request with the specified URI.
newRequest(URI, 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 interface com.atlassian.httpclient.api.HttpClient
Constructs a new Request with the specified URI, contentType, and entity.
newRequest() - Method in class com.atlassian.httpclient.api.RedirectingHttpClient
 
newRequest(URI) - Method in class com.atlassian.httpclient.api.RedirectingHttpClient
 
newRequest(String) - Method in class com.atlassian.httpclient.api.RedirectingHttpClient
 
newRequest(URI, String, String) - Method in class com.atlassian.httpclient.api.RedirectingHttpClient
 
newRequest(String, String, String) - Method in class com.atlassian.httpclient.api.RedirectingHttpClient
 
newUnexpectedResponseFunction() - Static method in class com.atlassian.httpclient.api.ResponsePromises
 
noContent(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'no content' (204) HTTP responses.
notFound(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'not found' (404) HTTP responses.
notModified(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'not modified' (304) HTTP responses.
notSuccessful(Function<Response, ? extends T>) - 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<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'ok' (200) HTTP responses.
on(HttpStatus, Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform HTTP responses with a specific status.
on(int, Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform HTTP responses with a specific status code.
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 HttpClient service as a OPTIONS operation.
others(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform all other HTTP responses (i.e.
otherwise(Function<Throwable, T>) - 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

post() - Method in interface com.atlassian.httpclient.api.Request.Builder
Executes this request through the HttpClient service as a POST operation.
ProxyOptions - Class in com.atlassian.httpclient.api.factory
Contains proxy configuration for the HTTP client
ProxyOptions.ProxyMode - Enum in com.atlassian.httpclient.api.factory
Represents the mode of proxy configuration (i.e.
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 HttpClient service as a PUT operation.

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<Response, ? extends T>) - 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.Builder - Interface in com.atlassian.httpclient.api
 
Request.Method - Enum in com.atlassian.httpclient.api
 
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 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 com.atlassian.httpclient.api.ResponseTooLargeException
 
ResponseTransformation<T> - Interface in com.atlassian.httpclient.api
Transforms the ResponsePromise into 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 in com.atlassian.httpclient.api
 
ResponseTransformationException(Throwable) - Constructor for exception com.atlassian.httpclient.api.ResponseTransformationException
 

S

Scheme - Enum in com.atlassian.httpclient.api.factory
Represents a scheme for communicating with a host (e.g.
schemeName() - Method in enum com.atlassian.httpclient.api.factory.Scheme
 
seeOther(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'see other' (303) HTTP responses.
serverError(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'server error' (5xx) HTTP responses.
serviceUnavailable(Function<Response, ? extends T>) - 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<String, String>) - Method in interface com.atlassian.httpclient.api.Request.Builder
Sets attributes on the request.
setBlacklistedAddresses(List<String>) - 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
 
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(String) - Method in interface com.atlassian.httpclient.api.Common
Sets this object's entity stream from a string.
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.Response.Builder
 
setEntityStream(InputStream) - Method in interface com.atlassian.httpclient.api.Common
Sets this object's entity as an input stream.
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
 
setEntityStream(InputStream) - 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<String, String>) - Method in interface com.atlassian.httpclient.api.Common
Copies the specified map of HTTP headers into this object.
setHeaders(Map<String, String>) - 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<String>) - 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<Request>) - 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
 
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<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'successful' (2xx) HTTP responses.

T

toResponsePromise(Promise<Response>) - Static method in class com.atlassian.httpclient.api.ResponsePromises
 
toString() - Method in class com.atlassian.httpclient.api.factory.Host
 
toString() - Method in enum com.atlassian.httpclient.api.HttpStatus
 
toString() - Method in exception com.atlassian.httpclient.api.UnexpectedResponseException
 
trace() - Method in interface com.atlassian.httpclient.api.Request.Builder
Executes this request through the HttpClient service as a TRACE operation.
transform(ResponseTransformation<T>) - Method in interface com.atlassian.httpclient.api.ResponsePromise
Helps transforming this response promise into a new promise using Function to transform response into a new T.
transformation() - Method in interface com.atlassian.httpclient.api.HttpClient
 
trustSelfSignedCertificates() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
 

U

unauthorized(Function<Response, ? extends T>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation.Builder
Register a function to transform 'unauthorized' (401) HTTP responses.
UnexpectedResponseException - Exception 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 com.atlassian.httpclient.api.UnexpectedResponseException
Creates a new exception for the given response.

V

valueOf(String) - Static method in enum com.atlassian.httpclient.api.factory.ProxyOptions.ProxyMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.atlassian.httpclient.api.factory.Scheme
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.atlassian.httpclient.api.HttpStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.atlassian.httpclient.api.Request.Method
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.atlassian.httpclient.api.factory.ProxyOptions.ProxyMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.httpclient.api.factory.Scheme
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.httpclient.api.HttpStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.httpclient.api.Request.Method
Returns an array containing the constants of this enum type, in the order they are declared.

W

withDefaultSystemProperties() - Method in class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyOptionsBuilder
Obtain proxy configuration for standard system properties (e.g.
withNonProxyHost(Scheme, List<String>) - 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<Scheme, Host>, Map<Scheme, List<String>>) - Method in class com.atlassian.httpclient.api.factory.ProxyOptions.ProxyOptionsBuilder
Configure proxies as per given arguments.
A B C D E F G H I M N O P R S T U V W 
Skip navigation links

Copyright © 2012–2024 Atlassian. All rights reserved.