Class FullHttpResponseContext

  • All Implemented Interfaces:
    org.analogweb.ResponseContext

    public class FullHttpResponseContext
    extends org.analogweb.core.AbstractResponseContext
    Author:
    y2k2mt
    • Constructor Detail

      • FullHttpResponseContext

        public FullHttpResponseContext​(io.netty.handler.codec.http.FullHttpRequest request,
                                       io.netty.channel.ChannelHandlerContext context)
    • Method Detail

      • commit

        public void commit​(org.analogweb.RequestContext context,
                           org.analogweb.Response response)
      • getResponseHeaders

        public org.analogweb.Headers getResponseHeaders()
        Specified by:
        getResponseHeaders in interface org.analogweb.ResponseContext
        Overrides:
        getResponseHeaders in class org.analogweb.core.AbstractResponseContext
      • setStatus

        public void setStatus​(int status)
        Specified by:
        setStatus in interface org.analogweb.ResponseContext
        Overrides:
        setStatus in class org.analogweb.core.AbstractResponseContext
      • getStatus

        protected int getStatus()
        Overrides:
        getStatus in class org.analogweb.core.AbstractResponseContext
      • getFullHttpRequest

        protected io.netty.handler.codec.http.FullHttpRequest getFullHttpRequest()
      • getChannelHandlerContext

        protected io.netty.channel.ChannelHandlerContext getChannelHandlerContext()