public interface ResponseHandler<T extends Response>
Request.execute(ResponseHandler)
method. Implementation of this interface performs
actual handling of the response.Modifier and Type | Method and Description |
---|---|
void |
handle(T response)
Triggered when response from
Request.execute(ResponseHandler) method becomes available. |
void handle(T response) throws ResponseException
Request.execute(ResponseHandler)
method becomes available. Implementations
of this method should handle the response.response
- a response object. Never null.ResponseException
- If the response cannot be retrievedCopyright © 2015 Atlassian. All rights reserved.