## Uses of Interface
org.apache.http.entity.ContentLengthStrategy

Packages that use ContentLengthStrategy
Package | Description
--- | ---
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.nio | Default implementations for interfaces in `org.apache.http.nio`.

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

Constructors in org.apache.http.impl with parameters of type ContentLengthStrategy
Constructor and Description
`BHttpConnectionBase(int buffersize, int fragmentSizeHint, CharsetDecoder chardecoder, CharsetEncoder charencoder, MessageConstraints constraints, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy)` Creates new instance of BHttpConnectionBase.

`DefaultBHttpClientConnection(int buffersize, int fragmentSizeHint, CharsetDecoder chardecoder, CharsetEncoder charencoder, MessageConstraints constraints, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<HttpRequest> requestWriterFactory, HttpMessageParserFactory<HttpResponse> responseParserFactory)`
Creates new instance of DefaultBHttpClientConnection.

`DefaultBHttpClientConnectionFactory(ConnectionConfig cconfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageWriterFactory<HttpRequest> requestWriterFactory, HttpMessageParserFactory<HttpResponse> responseParserFactory)`

`DefaultBHttpServerConnection(int buffersize, int fragmentSizeHint, CharsetDecoder chardecoder, CharsetEncoder charencoder, MessageConstraints constraints, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<HttpRequest> requestParserFactory, HttpMessageWriterFactory<HttpResponse> responseWriterFactory)`
Creates new instance of DefaultBHttpServerConnection.

`DefaultBHttpServerConnectionFactory(ConnectionConfig cconfig, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, HttpMessageParserFactory<HttpRequest> requestParserFactory, HttpMessageWriterFactory<HttpResponse> responseWriterFactory)`

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

Classes in org.apache.http.impl.entity that implement ContentLengthStrategy
Modifier and Type | Class and Description
--- | ---
`class` | `DisallowIdentityContentLengthStrategy` Decorator for `ContentLengthStrategy` implementations that disallows the use of identity transfer encoding.
`class` | `LaxContentLengthStrategy` The lax implementation of the content length strategy.
`class` | `StrictContentLengthStrategy` The strict implementation of the content length strategy.

Constructors in org.apache.http.impl.entity with parameters of type ContentLengthStrategy
Constructor and Description
`DisallowIdentityContentLengthStrategy(ContentLengthStrategy contentLengthStrategy)`
`EntityDeserializer(ContentLengthStrategy lenStrategy)` Deprecated.
`EntitySerializer(ContentLengthStrategy lenStrategy)` Deprecated.

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

Fields in org.apache.http.impl.nio declared as ContentLengthStrategy
Modifier and Type | Field and Description
--- | ---
`protected ContentLengthStrategy` | NHttpConnectionBase.`incomingContentStrategy`
`protected ContentLengthStrategy` | NHttpConnectionBase.`outgoingContentStrategy`

Methods in org.apache.http.impl.nio that return ContentLengthStrategy
Modifier and Type | Method and Description
--- | ---
`protected ContentLengthStrategy` | DefaultNHttpServerConnection.`createIncomingContentStrategy()` Deprecated. (4.3) use constructor.
`protected ContentLengthStrategy` | NHttpConnectionBase.`createIncomingContentStrategy()` Deprecated. (4.3) use constructor.
`protected ContentLengthStrategy` | NHttpConnectionBase.`createOutgoingContentStrategy()` Deprecated. (4.3) use constructor.

Constructors in org.apache.http.impl.nio with parameters of type ContentLengthStrategy
Constructor and Description

`DefaultNHttpClientConnection(IOSession session, int buffersize, int fragmentSizeHint, ByteBufferAllocator allocator, CharsetDecoder chardecoder, CharsetEncoder charencoder, MessageConstraints constraints, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, NHttpMessageParserFactory<HttpResponse> responseParserFactory)`
Creates new instance DefaultNHttpClientConnection given the underlying I/O session.

`DefaultNHttpClientConnectionFactory(ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig)`

`DefaultNHttpServerConnection(IOSession session, int buffersize, int fragmentSizeHint, ByteBufferAllocator allocator, CharsetDecoder chardecoder, CharsetEncoder charencoder, MessageConstraints constraints, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory)`
Creates new instance DefaultNHttpServerConnection given the underlying I/O session.

`DefaultNHttpServerConnectionFactory(ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig)`
`NHttpConnectionBase(IOSession session, int buffersize, int fragmentSizeHint, ByteBufferAllocator allocator, CharsetDecoder chardecoder, CharsetEncoder charencoder, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy)` Creates new instance NHttpConnectionBase given the underlying I/O session.
`SSLNHttpClientConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpResponse> responseParserFactory, NHttpMessageWriterFactory<HttpRequest> requestWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig)`
`SSLNHttpServerConnectionFactory(SSLContext sslcontext, SSLSetupHandler sslHandler, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy, NHttpMessageParserFactory<HttpRequest> requestParserFactory, NHttpMessageWriterFactory<HttpResponse> responseWriterFactory, ByteBufferAllocator allocator, ConnectionConfig cconfig)`