Uses of Class
com.atlassian.sal.api.net.ResponseException

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
 java.lang.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.
<RET> RET
Request.executeAndReturn(ReturningResponseHandler<RESP,RET> responseHandler)
          Executes the request and returns a result value.
<T> T
Response.getEntity(java.lang.Class<T> entityClass)
          Unmarshall the response body as the specified type
 java.io.InputStream Response.getResponseBodyAsStream()
           
 java.lang.String Response.getResponseBodyAsString()
           
 R ReturningResponseHandler.handle(T response)
          Triggered when response from Request.executeAndReturn(ReturningResponseHandler) method becomes available.
 void ResponseHandler.handle(T response)
          Triggered when response from Request.execute(ResponseHandler) method becomes available.
 



Copyright © 2011 Atlassian. All Rights Reserved.