Android APIs
Added in API level 1
Deprecated since API level 22
public interface

HttpResponseInterceptor

org.apache.http.HttpResponseInterceptor
Known Indirect Subclasses

This interface was deprecated in API level 22.
Please use openConnection() instead. Please visit this webpage for further details.

Class Overview

Processes a response. Provides the ability to process a response before it is sent to the client or after it has been received on the client side.

Summary

Public Methods
abstract void process(HttpResponse response, HttpContext context)
Processes a response.

Public Methods

public abstract void process (HttpResponse response, HttpContext context)

Added in API level 1

Processes a response. On the server side, this step is performed before the response is sent to the client. On the client side, this step is performed on incoming messages before the message body is evaluated.

Parameters
response the response to postprocess
context the context for the request
Throws
IOException in case of an IO problem
HttpException in case of a protocol or other problem