A B C D E F G H I M N O P R S T U 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(Response) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunction
 

B

badRequest(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'bad request' (400) HTTP responses.
badRequest(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
BaseResponsePromise<V> - Interface in com.atlassian.httpclient.api
Adds rich response-code callback registration to the base Promise interface.
build() - Method in interface com.atlassian.httpclient.api.EntityBuilder
Builds an EntityBuilder.Entity.
build() - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
builder() - Static method in class com.atlassian.httpclient.api.ResponsePromiseMapFunction
 

C

clientError(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'client error' (4xx) HTTP responses.
clientError(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
com.atlassian.httpclient.api - package com.atlassian.httpclient.api
 
conflict(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'conflict' (409) HTTP responses.
conflict(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
created(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'created' (201) HTTP responses.
created(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 

D

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

F

fail(Effect<Throwable>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to exceptions thrown while executing the HTTP request.
forbidden(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'forbidden' (403) HTTP responses.
forbidden(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
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
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.
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.
getResponse() - Method in exception com.atlassian.httpclient.api.UnexpectedResponseException
Returns the unexpected response
getResponses() - Method in exception com.atlassian.httpclient.api.UnexpectedResponsesException
Returns the unexpected responses.
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.
getUri() - Method in interface com.atlassian.httpclient.api.Request
Returns this request's URI, if set.

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.

I

informational(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'informational' (1xx) HTTP responses.
informational(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
internalServerError(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'internal server error' (500) HTTP responses.
internalServerError(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
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 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.ResponsePromiseMapFunction
 
noContent(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'no content' (204) HTTP responses.
noContent(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
notFound(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'not found' (404) HTTP responses.
notFound(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
notModified(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'not modified' (304) HTTP responses.
notModified(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
notSuccessful(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to all non-'successful' (1xx, 3xx, 4xx, 5xx) HTTP responses.
notSuccessful(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 

O

ok(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'ok' (200) HTTP responses.
ok(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
on(int, Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 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(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to all other HTTP responses (i.e.
others(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
otherwise(Effect<Throwable>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Registers the specified callback as a handler for 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(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'redirection' (3xx) HTTP responses.
redirection(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
Request - Interface in com.atlassian.httpclient.api
An interface for building and executing HTTP requests.
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 BaseResponsePromise for handling a response promise for a single HTTP request
ResponsePromiseMapFunction<O> - Class in com.atlassian.httpclient.api
 
ResponsePromiseMapFunctionBuilder<O> - Class in com.atlassian.httpclient.api
 
ResponsePromises - Class in com.atlassian.httpclient.api
Helper methods for working with response promises
ResponsesPromise - Interface in com.atlassian.httpclient.api
A specific type of BaseResponsePromise for handling a batch of response promises, as supplied via a when-based promise aggregation

S

seeOther(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'see other' (303) HTTP responses.
seeOther(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
serverError(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'server error' (5xx) HTTP responses.
serverError(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
serviceUnavailable(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'service unavailable' (503) HTTP responses.
serviceUnavailable(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
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.
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
 
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.
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.
setUri(URI) - Method in interface com.atlassian.httpclient.api.Request
Sets this request's URI.
successful(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'successful' (2xx) HTTP responses.
successful(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 

T

then(FutureCallback<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a future callback to respond to all completed HTTP responses and exceptions thrown while executing the HTTP request.
toResponsePromise(ListenableFuture<Response>) - Static method in class com.atlassian.httpclient.api.ResponsePromises
 
toResponsePromise(ListenableFuture<List<Response>>) - Static method in class com.atlassian.httpclient.api.ResponsePromises
 
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.

U

unauthorized(Effect<V>) - Method in interface com.atlassian.httpclient.api.BaseResponsePromise
Register a callback to respond to 'unauthorized' (401) HTTP responses.
unauthorized(Function<Response, ? extends O>) - Method in class com.atlassian.httpclient.api.ResponsePromiseMapFunctionBuilder
 
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.
UnexpectedResponsesException - Exception in com.atlassian.httpclient.api
Thrown to indicate that a set of responses completed normally but that one or more of them produced an unexpected status code.
UnexpectedResponsesException(List<Response>) - Constructor for exception com.atlassian.httpclient.api.UnexpectedResponsesException
Creates a new exception for the given responses.

W

when(ResponsePromise...) - Static method in class com.atlassian.httpclient.api.ResponsePromises
Returns a new promise representing the status of a list of other promises.
when(Iterable<? extends ResponsePromise>) - Static method in class com.atlassian.httpclient.api.ResponsePromises
Returns a new promise representing the status of a list of other promises.

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

Copyright © 2012 Atlassian. All Rights Reserved.