Package org.analogweb.netty
Class FullHttpResponseContext
- java.lang.Object
-
- org.analogweb.core.AbstractResponseContext
-
- org.analogweb.netty.FullHttpResponseContext
-
- All Implemented Interfaces:
org.analogweb.ResponseContext
public class FullHttpResponseContext extends org.analogweb.core.AbstractResponseContext
- Author:
- y2k2mt
-
-
Constructor Summary
Constructors Constructor Description FullHttpResponseContext(io.netty.handler.codec.http.FullHttpRequest request, io.netty.channel.ChannelHandlerContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
commit(org.analogweb.RequestContext context, org.analogweb.Response response)
protected io.netty.channel.ChannelHandlerContext
getChannelHandlerContext()
protected io.netty.handler.codec.http.FullHttpRequest
getFullHttpRequest()
org.analogweb.Headers
getResponseHeaders()
protected int
getStatus()
void
setStatus(int status)
-
-
-
Method Detail
-
commit
public void commit(org.analogweb.RequestContext context, org.analogweb.Response response)
-
getResponseHeaders
public org.analogweb.Headers getResponseHeaders()
- Specified by:
getResponseHeaders
in interfaceorg.analogweb.ResponseContext
- Overrides:
getResponseHeaders
in classorg.analogweb.core.AbstractResponseContext
-
setStatus
public void setStatus(int status)
- Specified by:
setStatus
in interfaceorg.analogweb.ResponseContext
- Overrides:
setStatus
in classorg.analogweb.core.AbstractResponseContext
-
getStatus
protected int getStatus()
- Overrides:
getStatus
in classorg.analogweb.core.AbstractResponseContext
-
getFullHttpRequest
protected io.netty.handler.codec.http.FullHttpRequest getFullHttpRequest()
-
getChannelHandlerContext
protected io.netty.channel.ChannelHandlerContext getChannelHandlerContext()
-
-