Org.Apache.Http Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the core Apache HTTP message, entity, header, connection, and protocol-version types.
Classes
| Name | Description |
|---|---|
| ConnectionClosedException |
Indicates that a connection has been closed. |
| HttpException |
Signals that an HTTP exception has occurred. |
| HttpHost |
Holds all of the variables needed to describe an HTTP connection to a host. |
| HttpStatus |
Constants enumerating the HTTP status codes. |
| HttpVersion |
Represents an HTTP version, as specified in RFC 2616. |
| IHttpClientConnectionExtensions |
Provides task-based wrappers for client connection operations. |
| IHttpEntityExtensions |
Provides a task-based wrapper for writing an HTTP entity to a stream. |
| IHttpServerConnectionExtensions |
Provides task-based wrappers for server connection operations. |
| MalformedChunkCodingException |
Signals a malformed chunked stream. |
| MethodNotSupportedException |
Indicates that an HTTP method is not supported. |
| NoHttpResponseException |
Signals that the target server failed to respond with a valid HTTP response. |
| ParseException |
Indicates a parse error. |
| ProtocolException |
Signals that an HTTP protocol violation has occurred. |
| ProtocolVersion |
Represents a protocol version, as specified in RFC 2616. |
| UnsupportedHttpVersionException |
Indicates an unsupported version of the HTTP protocol. |
Interfaces
| Name | Description |
|---|---|
| IConnectionReuseStrategy |
Interface for deciding whether a connection should be kept alive. |
| IFormattedHeader |
An HTTP header which is already formatted. |
| IHeader |
Represents an HTTP header field. |
| IHeaderElement |
One element of an HTTP IHeader value. |
| IHeaderElementIterator |
A type-safe iterator for IHeaderElement objects. |
| IHeaderIterator |
A type-safe iterator for IHeader objects. |
| IHttpClientConnection |
An HTTP connection for use on the client side. |
| IHttpConnection |
A generic HTTP connection, useful on client and server side. |
| IHttpConnectionMetrics |
The point of access to the statistics of an IHttpConnection. |
| IHttpEntity |
An entity that can be sent or received with an HTTP message. |
| IHttpEntityEnclosingRequest |
A request with an entity. |
| IHttpInetConnection |
An HTTP connection over the Internet Protocol (IP). |
| IHttpMessage |
A generic HTTP message. |
| IHttpRequest |
An HTTP request. |
| IHttpRequestFactory |
A factory for IHttpRequest objects. |
| IHttpRequestInterceptor |
Processes a request. |
| IHttpResponse |
An HTTP response. |
| IHttpResponseFactory |
A factory for IHttpResponse objects. |
| IHttpResponseInterceptor |
Processes a response. |
| IHttpServerConnection |
An HTTP connection for use on the server side. |
| IHttpStatus |
Provides the legacy interface projection of the Apache HTTP status constants. |
| INameValuePair |
Represents a name and its associated value in HTTP data. |
| IReasonPhraseCatalog |
Interface for obtaining reason phrases for HTTP status codes. |
| IRequestLine |
The first line of an IHttpRequest. |
| IStatusLine |
Represents a status line as returned from a HTTP server. |
| ITokenIterator |
An iterator for String tokens. |
Remarks
These types model HTTP requests and responses, their headers and content, and the connections that transfer them. The namespace also contains status-code constants and task-based wrappers for selected connection and entity operations.