Package com.atlassian.sal.api.net
Interface ResponseHandler<T extends Response>
public interface ResponseHandler<T extends Response>
Callback interface used by
Request.execute(ResponseHandler) method. Implementation of this interface performs
actual handling of the response.- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidTriggered when response fromRequest.execute(ResponseHandler)method becomes available.
-
Method Details
-
handle
Triggered when response fromRequest.execute(ResponseHandler)method becomes available. Implementations of this method should handle the response.- Parameters:
response- a response object. Never null.- Throws:
ResponseException- If the response cannot be retrieved
-