Package 

Class Http1Codec

  • All Implemented Interfaces:
    com.mobwith.httpmodule.internal.http.HttpCodec

    
    public final class Http1Codec
     implements HttpCodec
                        

    A socket connection that can be used to send HTTP/1.1 messages. This class strictly enforces the following lifecycle:

    Exchanges that do not have a request body may skip creating and closing the request body. Exchanges that do not have a response body can call newFixedLengthSource(0) and may skip reading and closing that source.