Skip to content

Most visited

Recently visited

navigation

HttpRequestInterceptor | Android Developers

to top
Android APIs
Added in API level 1
public interface

HttpRequestInterceptor

org.apache.http.HttpRequestInterceptor
Known Indirect Subclasses

Class Overview

Processes a request. Provides the ability to process a request before it is sent to the server or after it has received on the server side.

Summary

Public Methods
abstract void process(HttpRequest request, HttpContext context)
Processes a request.

Public Methods

public abstract void process (HttpRequest request, HttpContext context)

Added in API level 1

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

Parameters
request the request to preprocess
context the context for the request
Throws
IOException in case of an IO problem
HttpException in case of a protocol or other problem
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.