Class ClientRequest

  • All Implemented Interfaces:
    Attachable

    public final class ClientRequest
    extends AbstractAttachable
    A client request. This class should not be modified once it has been submitted to the ClientConnection. This class only represents the HTTP header, it does not represent an entity body. If the request needs an entity body then this must be specified by either setting a Content-Length or Transfer-Encoding header, otherwise the client will assume that the body is empty.
    Author:
    Stuart Douglas