|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ResponseException | |
|---|---|
| com.atlassian.sal.api.net | |
| Uses of ResponseException in com.atlassian.sal.api.net |
|---|
| Subclasses of ResponseException in com.atlassian.sal.api.net | |
|---|---|
class |
ResponseConnectTimeoutException
Thrown by Request methods to indicate that the request failed because a
connection could not be established within the timeout interval. |
class |
ResponseProtocolException
Thrown by Request methods to indicate that the request failed because the
server did not comply with the request protocol. |
class |
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. |
class |
ResponseStatusException
Thrown by Request.execute() to indicate that the request was unsuccessful
based on the response's status code. |
class |
ResponseTimeoutException
Thrown by Request methods to indicate that the request failed because the
server did not response in time. |
class |
ResponseTransportException
Thrown by Request methods to indicate that the request failed because of
an I/O error in the underlying protocol. |
| Methods in com.atlassian.sal.api.net that throw ResponseException | ||
|---|---|---|
String |
Request.execute()
Executes a request and if response is successful, returns response as a string. |
|
void |
Request.execute(ResponseHandler<RESP> responseHandler)
Executes the request. |
|
|
Request.executeAndReturn(ReturningResponseHandler<RESP,RET> responseHandler)
Executes the request and returns a result value. |
|
|
Response.getEntity(Class<T> entityClass)
Unmarshall the response body as the specified type |
|
InputStream |
Response.getResponseBodyAsStream()
|
|
String |
Response.getResponseBodyAsString()
|
|
void |
ResponseHandler.handle(T response)
Triggered when response from Request.execute(ResponseHandler) method becomes available. |
|
R |
ReturningResponseHandler.handle(T response)
Triggered when response from Request.executeAndReturn(ReturningResponseHandler)
method becomes available. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||