Uses of Class
com.atlassian.sal.api.net.ResponseException
Packages that use ResponseException
-
Uses of ResponseException in com.atlassian.sal.api.net
Subclasses of ResponseException in com.atlassian.sal.api.netModifier and TypeClassDescriptionclassThrown byRequestmethods to indicate that the request failed because a connection could not be established within the timeout interval.classThrown byRequestmethods to indicate that the request failed because the server did not comply with the request protocol.classThrown byRequestmethods to indicate that the request failed because the server did not respond within the timeout interval after a connection was made.classThrown byRequest.execute()to indicate that the request was unsuccessful based on the response's status code.classThrown byRequestmethods to indicate that the request failed because the server did not response in time.classThrown byRequestmethods 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 ResponseExceptionModifier and TypeMethodDescriptionRequest.execute()Executes a request and if response is successful, returns response as a string.voidRequest.execute(ResponseHandler<? super RESP> responseHandler) Executes the request.<RET> RETRequest.executeAndReturn(ReturningResponseHandler<? super RESP, RET> responseHandler) Executes the request and returns a result value.<T> TUnmarshall the response body as the specified typeResponse.getResponseBodyAsStream()Response.getResponseBodyAsString()voidTriggered when response fromRequest.execute(ResponseHandler)method becomes available.Triggered when response fromRequest.executeAndReturn(ReturningResponseHandler)method becomes available.