| Interface | Description |
|---|---|
| NonMarshallingRequestFactory<T extends Request<?,?>> |
HttpClientRequestFactory implements this interface. |
| Request<T extends Request<?,?>,RESP extends Response> |
Interface Request represents a request to retrieve data.
|
| RequestFactory<T extends Request<?,?>> |
Factory to create
Requests. |
| Response |
Represents the response when calling
Request.execute(ResponseHandler) |
| ResponseHandler<T extends Response> |
Callback interface used by
Request.execute(ResponseHandler) method. |
| ReturningResponseHandler<T extends Response,R> |
Callback interface used by the
Request.executeAndReturn(ReturningResponseHandler)
method. |
| TrustedRequest |
Interface Request represents a request to retrieve data, using Trusted Apps authentication.
|
| TrustedRequestFactory<T extends TrustedRequest> |
Factory to create
TrustedRequests. |
| Class | Description |
|---|---|
| RequestFilePart |
| Enum | Description |
|---|---|
| Request.MethodType |
Represents type of network request
|
| Exception | Description |
|---|---|
| ResponseConnectTimeoutException |
Thrown by
Request methods to indicate that the request failed because a
connection could not be established within the timeout interval. |
| ResponseException |
This exception is thrown by
Request.execute() and ResponseHandler.handle(Response). |
| ResponseProtocolException |
Thrown by
Request methods to indicate that the request failed because the
server did not comply with the request protocol. |
| ResponseReadTimeoutException |
Thrown by
Request methods to indicate that the request failed because the
server did not respond within the timeout interval after a connection was made. |
| ResponseStatusException |
Thrown by
Request.execute() to indicate that the request was unsuccessful
based on the response's status code. |
| ResponseTimeoutException |
Thrown by
Request methods to indicate that the request failed because the
server did not response in time. |
| ResponseTransportException |
Thrown by
Request methods to indicate that the request failed because of
an I/O error in the underlying protocol. |
Copyright © 2015 Atlassian. All rights reserved.