Class StrictContentLengthStrategy

  • All Implemented Interfaces:
    ContentLengthStrategy

    @Contract(threading=IMMUTABLE)
    public class StrictContentLengthStrategy
    extends java.lang.Object
    implements ContentLengthStrategy
    The strict implementation of the content length strategy. This class will throw ProtocolException if it encounters an unsupported transfer encoding or a malformed Content-Length header value.

    This class recognizes "chunked" and "identitiy" transfer-coding only.

    Since:
    4.0