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 voidcommit(org.analogweb.RequestContext context, org.analogweb.Response response)protected io.netty.channel.ChannelHandlerContextgetChannelHandlerContext()protected io.netty.handler.codec.http.FullHttpRequestgetFullHttpRequest()org.analogweb.HeadersgetResponseHeaders()protected intgetStatus()voidsetStatus(int status)
-
-
-
Method Detail
-
commit
public void commit(org.analogweb.RequestContext context, org.analogweb.Response response)
-
getResponseHeaders
public org.analogweb.Headers getResponseHeaders()
- Specified by:
getResponseHeadersin interfaceorg.analogweb.ResponseContext- Overrides:
getResponseHeadersin classorg.analogweb.core.AbstractResponseContext
-
setStatus
public void setStatus(int status)
- Specified by:
setStatusin interfaceorg.analogweb.ResponseContext- Overrides:
setStatusin classorg.analogweb.core.AbstractResponseContext
-
getStatus
protected int getStatus()
- Overrides:
getStatusin classorg.analogweb.core.AbstractResponseContext
-
getFullHttpRequest
protected io.netty.handler.codec.http.FullHttpRequest getFullHttpRequest()
-
getChannelHandlerContext
protected io.netty.channel.ChannelHandlerContext getChannelHandlerContext()
-
-