Uses of Interface
org.apache.http.entity.ContentLengthStrategy
-
Packages that use ContentLengthStrategy Package Description org.apache.http.impl Default implementations of HTTP connections for synchronous, blocking communication.org.apache.http.impl.entity Default implementations of entity content strategies.org.apache.http.impl.nio Default implementations of HTTP connections for asynchronous, even driven communication. -
-
Uses of ContentLengthStrategy in org.apache.http.impl
Constructors in org.apache.http.impl with parameters of type ContentLengthStrategy Constructor Description BHttpConnectionBase(int bufferSize, int fragmentSizeHint, CharsetDecoder charDecoder, CharsetEncoder charEncoder, MessageConstraints messageConstraints, 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 Description class
DisallowIdentityContentLengthStrategy
Decorator forContentLengthStrategy
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 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 Description protected ContentLengthStrategy
NHttpConnectionBase. incomingContentStrategy
protected ContentLengthStrategy
NHttpConnectionBase. outgoingContentStrategy
Methods in org.apache.http.impl.nio that return ContentLengthStrategy Modifier and Type Method 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 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, MessageConstraints constraints, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy)
Creates new instance NHttpConnectionBase given the underlying I/O session.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)
-