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

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.

B

badRequest(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform 'bad request' (400) HTTP responses.
build() - Method in interface com.atlassian.httpclient.api.EntityBuilder
Builds an EntityBuilder.Entity.

C

claim() - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Blocks the thread waiting for a result.
clientError(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
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
 
conflict(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
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) - Method in interface com.atlassian.httpclient.api.factory.HttpClientFactory
Creates a new instance of HttpClient
created(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform 'created' (201) HTTP responses.

D

delegate() - Method in class com.atlassian.httpclient.api.ForwardingHttpClient
 
delete() - Method in interface com.atlassian.httpclient.api.Request
Executes this request through the HttpClient service as a DELETE operation.
done(Function<Response, O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
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
error(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform all error (4xx and 5xx) HTTP responses.

F

fail(Function<Throwable, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform exceptions thrown while executing the HTTP request.
flushCacheByUriPattern(Pattern) - Method in class com.atlassian.httpclient.api.ForwardingHttpClient
 
flushCacheByUriPattern(Pattern) - Method in interface com.atlassian.httpclient.api.HttpClient
Flush the cache entries by matching the URI using a regular expression
forbidden(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
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.
ForwardingHttpClient - Class in com.atlassian.httpclient.api
An HTTP Client which forwards all its method calls to another HTTP Client.
ForwardingHttpClient() - Constructor for class com.atlassian.httpclient.api.ForwardingHttpClient
Constructor for use by subclasses.

G

get() - Method in interface com.atlassian.httpclient.api.Request
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.
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.
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.
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.
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.
getMaxCacheEntries() - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
 
getMaxCacheObjectSize() - 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
 
getMethod() - Method in interface com.atlassian.httpclient.api.Request
 
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.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.
getThreadPrefix() - 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.
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
Executes this request through the HttpClient service as a HEAD operation.
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 O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform 'informational' (1xx) HTTP responses.
internalServerError(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
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".
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".
isFrozen() - Method in interface com.atlassian.httpclient.api.Message
Returns whether or not this object has been made immutable.
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 class com.atlassian.httpclient.api.ForwardingHttpClient
 
newRequest(URI) - Method in class com.atlassian.httpclient.api.ForwardingHttpClient
 
newRequest(String) - Method in class com.atlassian.httpclient.api.ForwardingHttpClient
 
newRequest(URI, String, String) - Method in class com.atlassian.httpclient.api.ForwardingHttpClient
 
newRequest(String, String, String) - Method in class com.atlassian.httpclient.api.ForwardingHttpClient
 
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.
newUnexpectedResponseFunction() - Static method in class com.atlassian.httpclient.api.ResponsePromises
 
noContent(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform 'no content' (204) HTTP responses.
notFound(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform 'not found' (404) HTTP responses.
notModified(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform 'not modified' (304) HTTP responses.
notSuccessful(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform all non-'successful' (1xx, 3xx, 4xx, 5xx) HTTP responses.

O

ok(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform 'ok' (200) HTTP responses.
on(HttpStatus, Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform HTTP responses with a specific status.
on(int, Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform HTTP responses with a specific status code.
options() - Method in interface com.atlassian.httpclient.api.Request
Executes this request through the HttpClient service as a OPTIONS operation.
others(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform all other HTTP responses (i.e.
otherwise(Function<Throwable, O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
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
Executes this request through the HttpClient service as a POST operation.
put() - Method in interface com.atlassian.httpclient.api.Request
Executes this request through the HttpClient service as a PUT operation.

R

redirection(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
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.Method - Enum in com.atlassian.httpclient.api
 
Response - Interface in com.atlassian.httpclient.api
Represents the result of an HTTP request.
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
ResponseTransformation<O> - Interface in com.atlassian.httpclient.api
Transforms the ResponsePromise into a target object, allowing for transforming functions based on different HTTP codes or exceptions.
ResponseTransformationException - Exception in com.atlassian.httpclient.api
 
ResponseTransformationException(Throwable) - Constructor for exception com.atlassian.httpclient.api.ResponseTransformationException
 

S

seeOther(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform 'see other' (303) HTTP responses.
serverError(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform 'server error' (5xx) HTTP responses.
serviceUnavailable(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform 'service unavailable' (503) HTTP responses.
setAccept(String) - Method in interface com.atlassian.httpclient.api.Request
Sets the Accept header for the request.
setAttribute(String, String) - Method in interface com.atlassian.httpclient.api.Request
Sets an attribute on the request.
setAttributes(Map<String, String>) - Method in interface com.atlassian.httpclient.api.Request
Sets attributes on the request.
setCacheDisabled() - Method in interface com.atlassian.httpclient.api.Request
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.Message
Sets the charset for this object's entity, if any.
setContentCharset(String) - Method in interface com.atlassian.httpclient.api.Request
 
setContentCharset(String) - Method in interface com.atlassian.httpclient.api.Response
 
setContentType(String) - Method in interface com.atlassian.httpclient.api.Message
Sets the IANA media type, for the current entity, if any.
setContentType(String) - Method in interface com.atlassian.httpclient.api.Request
 
setContentType(String) - Method in interface com.atlassian.httpclient.api.Response
 
setEntity(String) - Method in interface com.atlassian.httpclient.api.Message
Sets this object's entity stream from a string.
setEntity(EntityBuilder) - Method in interface com.atlassian.httpclient.api.Request
Sets the entity and any associated headers from an entity builder.
setEntity(String) - Method in interface com.atlassian.httpclient.api.Request
 
setEntity(String) - Method in interface com.atlassian.httpclient.api.Response
 
setEntityStream(InputStream) - Method in interface com.atlassian.httpclient.api.Message
Sets this object's entity as an input stream.
setEntityStream(InputStream, String) - Method in interface com.atlassian.httpclient.api.Message
Sets this object's entity as an input stream, encoded with the specified charset.
setEntityStream(InputStream, String) - Method in interface com.atlassian.httpclient.api.Request
 
setEntityStream(InputStream) - Method in interface com.atlassian.httpclient.api.Request
 
setEntityStream(InputStream, String) - Method in interface com.atlassian.httpclient.api.Response
 
setEntityStream(InputStream) - Method in interface com.atlassian.httpclient.api.Response
 
setHeader(String, String) - Method in interface com.atlassian.httpclient.api.Message
Sets an HTTP header on this object.
setHeader(String, String) - Method in interface com.atlassian.httpclient.api.Request
 
setHeader(String, String) - Method in interface com.atlassian.httpclient.api.Response
 
setHeaders(Map<String, String>) - Method in interface com.atlassian.httpclient.api.Message
Copies the specified map of HTTP headers into this object.
setHeaders(Map<String, String>) - Method in interface com.atlassian.httpclient.api.Request
 
setHeaders(Map<String, String>) - Method in interface com.atlassian.httpclient.api.Response
 
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
 
setMaxCacheEntries(int) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
 
setMaxCacheObjectSize(long) - 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
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.
setRequestPreparer(Effect<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
Sets the status code of the response.
setStatusText(String) - Method in interface com.atlassian.httpclient.api.Response
Sets the status text of the response.
setThreadPrefix(String) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
 
setUri(URI) - Method in interface com.atlassian.httpclient.api.Request
Sets this request's URI.
setUserAgent(String) - Method in class com.atlassian.httpclient.api.factory.HttpClientOptions
 
successful(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Register a function to transform 'successful' (2xx) HTTP responses.

T

toPromise() - Method in interface com.atlassian.httpclient.api.ResponseTransformation
Converts the transformation into a promise for further mapping
toResponsePromise(Promise<Response>) - Static method in class com.atlassian.httpclient.api.ResponsePromises
 
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
Executes this request through the HttpClient service as a TRACE operation.
transform() - 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.

U

unauthorized(Function<Response, ? extends O>) - Method in interface com.atlassian.httpclient.api.ResponseTransformation
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.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.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.

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

Copyright © 2012 Atlassian. All Rights Reserved.