com.atlassian.sal.api.net
Interface ResponseHandler


public interface ResponseHandler

Callback interface used by Request.execute(ResponseHandler) method. Implementation of this interface performs actual handling of the response.

Since:
2.0

Method Summary
 void handle(Response response)
          Triggered when response from Request.execute(ResponseHandler) method becomes available.
 

Method Detail

handle

void handle(Response response)
            throws ResponseException
Triggered when response from Request.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


Copyright © 2009 Atlassian. All Rights Reserved.