Skip to content

Most visited

Recently visited

navigation

ResponseHandler | Android Developers

to top
Android APIs
Added in API level 1
public interface

ResponseHandler

org.apache.http.client.ResponseHandler<T>
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
abstract T handleResponse(HttpResponse response)
Processes an HttpResponse and returns some value corresponding to that response.

Public Methods

public abstract T handleResponse (HttpResponse response)

Added in API level 1

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
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.