Uses of Interface
org.apache.http.entity.ContentLengthStrategy
Packages that use ContentLengthStrategy
Package
Description
Default implementations of HTTP connections for synchronous,
blocking communication.
Default implementations of entity content strategies.
Default implementations of HTTP connections for asynchronous,
even driven communication.
-
Uses of ContentLengthStrategy in org.apache.http.impl
Fields in org.apache.http.impl declared as ContentLengthStrategyModifier and TypeFieldDescriptionprivate final ContentLengthStrategy
BHttpConnectionBase.incomingContentStrategy
private final ContentLengthStrategy
DefaultBHttpClientConnectionFactory.incomingContentStrategy
private final ContentLengthStrategy
DefaultBHttpServerConnectionFactory.incomingContentStrategy
private final ContentLengthStrategy
BHttpConnectionBase.outgoingContentStrategy
private final ContentLengthStrategy
DefaultBHttpClientConnectionFactory.outgoingContentStrategy
private final ContentLengthStrategy
DefaultBHttpServerConnectionFactory.outgoingContentStrategy
Constructors in org.apache.http.impl with parameters of type ContentLengthStrategyModifierConstructorDescriptionprotected
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 ContentLengthStrategyModifier and TypeClassDescriptionclass
Decorator forContentLengthStrategy
implementations that disallows the use of identity transfer encoding.class
The lax implementation of the content length strategy.class
The strict implementation of the content length strategy.Fields in org.apache.http.impl.entity declared as ContentLengthStrategyModifier and TypeFieldDescriptionprivate final ContentLengthStrategy
DisallowIdentityContentLengthStrategy.contentLengthStrategy
private final ContentLengthStrategy
EntityDeserializer.lenStrategy
Deprecated.private final ContentLengthStrategy
EntitySerializer.lenStrategy
Deprecated.Constructors in org.apache.http.impl.entity with parameters of type ContentLengthStrategyModifierConstructorDescriptionDisallowIdentityContentLengthStrategy
(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 ContentLengthStrategyModifier and TypeFieldDescriptionprivate final ContentLengthStrategy
DefaultNHttpClientConnectionFactory.incomingContentStrategy
private final ContentLengthStrategy
DefaultNHttpServerConnectionFactory.incomingContentStrategy
protected final ContentLengthStrategy
NHttpConnectionBase.incomingContentStrategy
private final ContentLengthStrategy
SSLNHttpClientConnectionFactory.incomingContentStrategy
private final ContentLengthStrategy
SSLNHttpServerConnectionFactory.incomingContentStrategy
private final ContentLengthStrategy
DefaultNHttpClientConnectionFactory.outgoingContentStrategy
private final ContentLengthStrategy
DefaultNHttpServerConnectionFactory.outgoingContentStrategy
protected final ContentLengthStrategy
NHttpConnectionBase.outgoingContentStrategy
private final ContentLengthStrategy
SSLNHttpClientConnectionFactory.outgoingContentStrategy
private final ContentLengthStrategy
SSLNHttpServerConnectionFactory.outgoingContentStrategy
Methods in org.apache.http.impl.nio that return ContentLengthStrategyModifier and TypeMethodDescriptionprotected 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 ContentLengthStrategyModifierConstructorDescriptionDefaultNHttpClientConnection
(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) protected
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.protected
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)