Org.Apache.Http.Protocol Namespace

HttpRequestExecutor is a processor for the client side, HttpService for the server side.

Classes

BasicHttpContext

Default implementation of the HttpContext.

BasicHttpContext.InterfaceConsts
BasicHttpProcessor

Keeps lists of interceptors for processing requests and responses.

DefaultedHttpContext

HttpContext implementation that delegates resolution of an attribute to the given default HttpContext instance if the attribute is not present in the local one.

DefaultedHttpContext.InterfaceConsts
ExecutionContext

HttpContext attribute names for protocol execution.

HTTP

Constants and static helpers related to the HTTP protocol.

HttpContext

A context for executing a request.

HttpDateGenerator

Generates a date in the format required by the HTTP protocol.

HttpRequestExecutor

Sends HTTP requests and receives the responses.

HttpRequestHandlerRegistry

Maintains a map of HTTP request handlers keyed by a request URI pattern.

HttpService

Minimalistic server-side implementation of an HTTP processor.

RequestConnControl

A request interceptor that suggests connection keep-alive to the server.

RequestContent

A request interceptor that decides about the transport encoding.

RequestDate

A request interceptor that adds a Date header.

RequestExpectContinue

A request interceptor that enables the expect-continue handshake.

RequestTargetHost

A request interceptor that sets the Host header for HTTP/1.1 requests.

RequestUserAgent

A request interceptor that adds a User-Agent header.

ResponseConnControl

A response interceptor that suggests connection keep-alive to the client.

ResponseContent

A response interceptor that sets up entity-related headers.

ResponseDate

A response interceptor that adds a Date header.

ResponseServer

A response interceptor that adds a Server header.

SyncBasicHttpContext

Thread-safe extension of the BasicHttpContext.

UriPatternMatcher

Maintains a map of objects keyed by a request URI pattern.

Interfaces

IExecutionContext
IHttpContext

A context for executing a request.

IHttpExpectationVerifier

Defines an interface to verify whether an incoming HTTP request meets the target server's expectations.

IHttpProcessor

Performs interceptor processing of requests and responses.

IHttpRequestHandler
IHttpRequestHandlerResolver

Interface to be implemented by objects that can resolve IHttpRequestHandler instances by request URI.

IHttpRequestInterceptorList

Provides access to an ordered list of request interceptors.

IHttpResponseInterceptorList

Provides access to an ordered list of response interceptors.