Class HttpServerRequestImpl

    • Constructor Detail

      • HttpServerRequestImpl

        public HttpServerRequestImpl​(HttpMethod aHttpMethod,
                                     Url aUrl,
                                     RequestHeaderFields aHeaderFields,
                                     MediaTypeFactoryLookup aMediaTypeFactoryLookup)
        Constructs a HttpServerRequest with all required attributes.
        aHttpMethod - The HttpMethod with which the request has been sent.
        aUrl - The Url from which to take the URL specific data.
        aHeaderFields - The RequestHeaderFields sent by the request.
        aHttpInputStream - The InputStream representing the request's HTTP body.
        aMediaTypeFactoryLookup - The lookup factory for retrieving the required MediaType factories.
    • Method Detail

      • toString

        public java.lang.String toString​()
        toString in class java.lang.Object
      • getHttpInputStream

        public getHttpInputStream​()
        Retrieves the InputStream from the HTTP InputStream property.
        Specified by:
        getHttpInputStream in interface HttpInputStreamAccessor
        The InputStream stored by the InputStream property.
      • getHttpBody

        public java.lang.String getHttpBody​()
        Retrieves the HTTP body from the HTTP body property.
        Specified by:
        getHttpBody in interface HttpBodyAccessor
        The HTTP body stored by the HTTP body property.