Android
org.apache.http.client
public interface

org.apache.http.client.ResponseHandler<T>

org.apache.http.client.ResponseHandler<T>

Handler that encapsulates the process of generating a response object from a HttpResponse.

Summary

Public Methods

          handleResponse(HttpResponse response)
Processes an HttpResponse and returns some value corresponding to that response.

Details

Public Methods

public T handleResponse(HttpResponse response)

Processes an HttpResponse and returns some value corresponding to that response.

Parameters

response The response to process

Returns

  • A value determined by the response

Throws

ClientProtocolException in case of an http protocol error
IOException in case of a problem or the connection was aborted
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48