Class HttpServerResponseImpl

java.lang.Object
org.refcodes.web.HttpResponseImpl
org.refcodes.web.HttpServerResponseImpl
All Implemented Interfaces:
org.refcodes.mixin.Dumpable, HeaderFieldsAccessor<ResponseHeaderFields>, HttpBodyAccessor.HttpBodyProvider<BadResponseException>, HttpResponse, HttpServerResponse, HttpStatusCodeAccessor, HttpStatusCodeAccessor.HttpStatusCodeBuilder<HttpServerResponse>, HttpStatusCodeAccessor.HttpStatusCodeMutator, HttpStatusCodeAccessor.HttpStatusCodeProperty

public class HttpServerResponseImpl
extends HttpResponseImpl
implements HttpServerResponse
Implementation of the HttpResponse interface.
  • Field Details

  • Constructor Details

    • HttpServerResponseImpl

      public HttpServerResponseImpl​(MediaTypeFactoryLookup aMediaTypeFactoryLookup)
      Instantiates a new http server response impl.
      Parameters:
      aMediaTypeFactoryLookup - the media type factory lookup
    • HttpServerResponseImpl

      public HttpServerResponseImpl​(HttpStatusCode aHttpStatusCode, MediaTypeFactoryLookup aMediaTypeFactoryLookup)
      Instantiates a new http server response impl.
      Parameters:
      aHttpStatusCode - the http status code
      aMediaTypeFactoryLookup - the media type factory lookup
    • HttpServerResponseImpl

      public HttpServerResponseImpl​(ResponseHeaderFields aResponseHeaderFields, MediaTypeFactoryLookup aMediaTypeFactoryLookup)
      Instantiates a new http server response impl.
      Parameters:
      aResponseHeaderFields - the response Header-Fields
      aMediaTypeFactoryLookup - the media type factory lookup
  • Method Details