## Uses of Interface
org.apache.http.HttpMessage

Packages that use HttpMessage
Package | Description
--- | ---
org.apache.http | Core HTTP components based on the blocking I/O model.
org.apache.http.entity | Common HTTP entity implementations.
org.apache.http.impl | Default implementations for interfaces in `org.apache.http`.
org.apache.http.impl.entity | Default implementations for interfaces in `org.apache.http.entity` and provides utility classes for serialization and deserialization of HTTP content entities.
org.apache.http.impl.io | Default implementations for interfaces in `org.apache.http.io`.
org.apache.http.impl.nio | Default implementations for interfaces in `org.apache.http.nio`.
org.apache.http.impl.nio.codecs | Default implementations for interfaces in `org.apache.http.nio.codecs`.
org.apache.http.io | Blocking I/O session buffer, message parser / writer interfaces.
org.apache.http.message | Basic HTTP message implementations.
org.apache.http.nio | Core HTTP components based on the non-blocking I/O model.

### Uses of HttpMessage in org.apache.http

Subinterfaces of HttpMessage in org.apache.http
Modifier and Type | Interface and Description
--- | ---
`interface` | `HttpEntityEnclosingRequest` A request with an entity.
`interface` | `HttpRequest` A request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use.
`interface` | `HttpResponse` After receiving and interpreting a request message, a server responds with an HTTP response message.

### Uses of HttpMessage in org.apache.http.entity

Methods in org.apache.http.entity with parameters of type HttpMessage
Modifier and Type | Method and Description
--- | ---
`long` | ContentLengthStrategy.`determineLength(HttpMessage message)` Returns length of the given message in bytes.

### Uses of HttpMessage in org.apache.http.impl

Methods in org.apache.http.impl with parameters of type HttpMessage
Modifier and Type | Method and Description
--- | ---
`protected HttpEntity` | BHttpConnectionBase.`prepareInput(HttpMessage message)`
`protected OutputStream` | BHttpConnectionBase.`prepareOutput(HttpMessage message)`

### Uses of HttpMessage in org.apache.http.impl.entity

Methods in org.apache.http.impl.entity with parameters of type HttpMessage
Modifier and Type | Method and Description
--- | ---
`HttpEntity` | EntityDeserializer.`deserialize(SessionInputBuffer inbuffer, HttpMessage message)` Deprecated. Creates an `HttpEntity` based on properties of the given message.
`long` | DisallowIdentityContentLengthStrategy.`determineLength(HttpMessage message)`
`long` | LaxContentLengthStrategy.`determineLength(HttpMessage message)`
`long` | StrictContentLengthStrategy.`determineLength(HttpMessage message)`
`protected BasicHttpEntity` | EntityDeserializer.`doDeserialize(SessionInputBuffer inbuffer, HttpMessage message)` Deprecated. Creates a `BasicHttpEntity` based on properties of the given message.
`protected OutputStream` | EntitySerializer.`doSerialize(SessionOutputBuffer outbuffer, HttpMessage message)` Deprecated. Creates a transfer codec based on properties of the given HTTP message and returns `OutputStream` instance that transparently encodes output data as it is being written out to the output stream.
`void` | EntitySerializer.`serialize(SessionOutputBuffer outbuffer, HttpMessage message, HttpEntity entity)` Deprecated. Writes out the content of the given HTTP entity to the session output buffer based on properties of the given HTTP message.

### Uses of HttpMessage in org.apache.http.impl.io

Classes in org.apache.http.impl.io with type parameters of type HttpMessage
Modifier and Type | Class and Description
--- | ---
`class` | `AbstractMessageParser<T extends HttpMessage>` Abstract base class for HTTP message parsers that obtain input from an instance of `SessionInputBuffer`.
`class` | `AbstractMessageWriter<T extends HttpMessage>` Abstract base class for HTTP message writers that serialize output to an instance of `SessionOutputBuffer`.

Methods in org.apache.http.impl.io that return HttpMessage
Modifier and Type | Method and Description
--- | ---
`protected HttpMessage` | HttpRequestParser.`parseHead(SessionInputBuffer sessionBuffer)` Deprecated.
`protected HttpMessage` | HttpResponseParser.`parseHead(SessionInputBuffer sessionBuffer)` Deprecated.

### Uses of HttpMessage in org.apache.http.impl.nio

Methods in org.apache.http.impl.nio with parameters of type HttpMessage
Modifier and Type | Method and Description
--- | ---
`protected HttpEntity` | NHttpConnectionBase.`prepareDecoder(HttpMessage message)` Initializes a specific `ContentDecoder` implementation based on the properties of the given `HttpMessage` and generates an instance of `HttpEntity` matching the properties of the content decoder.
`protected void` | NHttpConnectionBase.`prepareEncoder(HttpMessage message)` Initializes a specific `ContentEncoder` implementation based on the properties of the given `HttpMessage`.

### Uses of HttpMessage in org.apache.http.impl.nio.codecs

Classes in org.apache.http.impl.nio.codecs with type parameters of type HttpMessage
Modifier and Type | Class and Description
--- | ---
`class` | `AbstractMessageParser<T extends HttpMessage>` Abstract `NHttpMessageParser` that serves as a base for all message parser implementations.
`class` | `AbstractMessageWriter<T extends HttpMessage>` Abstract `NHttpMessageWriter` that serves as a base for all message writer implementations.

Methods in org.apache.http.impl.nio.codecs that return HttpMessage
Modifier and Type | Method and Description
--- | ---
`protected HttpMessage` | HttpRequestParser.`createMessage(CharArrayBuffer buffer)` Deprecated.
`protected HttpMessage` | HttpResponseParser.`createMessage(CharArrayBuffer buffer)` Deprecated.

Methods in org.apache.http.impl.nio.codecs with parameters of type HttpMessage
Modifier and Type | Method and Description
--- | ---
`protected void` | HttpRequestWriter.`writeHeadLine(HttpMessage message)` Deprecated.
`protected void` | HttpResponseWriter.`writeHeadLine(HttpMessage message)` Deprecated.

### Uses of HttpMessage in org.apache.http.io

Classes in org.apache.http.io with type parameters of type HttpMessage
Modifier and Type | Interface and Description
--- | ---
`interface` | `HttpMessageParser<T extends HttpMessage>` Abstract message parser intended to build HTTP messages from an arbitrary data source.
`interface` | `HttpMessageParserFactory<T extends HttpMessage>` Factory for `HttpMessageParser` instances.
`interface` | `HttpMessageWriter<T extends HttpMessage>` Abstract message writer intended to serialize HTTP messages to an arbitrary data sink.
`interface` | `HttpMessageWriterFactory<T extends HttpMessage>` Factory for `HttpMessageWriter` instances.

### Uses of HttpMessage in org.apache.http.message

Classes in org.apache.http.message that implement HttpMessage
Modifier and Type | Class and Description
--- | ---
`class` | `AbstractHttpMessage` Basic implementation of `HttpMessage`.
`class` | `BasicHttpEntityEnclosingRequest` Basic implementation of `HttpEntityEnclosingRequest`.
`class` | `BasicHttpRequest` Basic implementation of `HttpRequest`.
`class` | `BasicHttpResponse` Basic implementation of `HttpResponse`.

### Uses of HttpMessage in org.apache.http.nio

Classes in org.apache.http.nio with type parameters of type HttpMessage
Modifier and Type | Interface and Description
--- | ---
`interface` | `NHttpMessageParser<T extends HttpMessage>` Abstract HTTP message parser for non-blocking connections.
`interface` | `NHttpMessageParserFactory<T extends HttpMessage>` Factory for `NHttpMessageParser` instances.
`interface` | `NHttpMessageWriter<T extends HttpMessage>` Abstract HTTP message writer for non-blocking connections.
`interface` | `NHttpMessageWriterFactory<T extends HttpMessage>` Factory for `NHttpMessageWriter` instances.