public class FullHttpResponseContext extends Object implements org.analogweb.ResponseContext
| Modifier and Type | Field and Description |
|---|---|
protected static long |
CHUNKED |
protected static long |
NO_CONTENT |
| Constructor and Description |
|---|
FullHttpResponseContext(io.netty.handler.codec.http.FullHttpRequest request,
io.netty.channel.ChannelHandlerContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
commmit(org.analogweb.RequestContext req) |
protected io.netty.channel.ChannelHandlerContext |
getChannelHandlerContext() |
protected io.netty.handler.codec.http.FullHttpRequest |
getFullHttpRequest() |
org.analogweb.Headers |
getResponseHeaders() |
org.analogweb.ResponseContext.ResponseWriter |
getResponseWriter() |
protected int |
getStatus() |
void |
setStatus(int status) |
public FullHttpResponseContext(io.netty.handler.codec.http.FullHttpRequest request,
io.netty.channel.ChannelHandlerContext context)
public void commmit(org.analogweb.RequestContext req)
commmit in interface org.analogweb.ResponseContextpublic org.analogweb.Headers getResponseHeaders()
getResponseHeaders in interface org.analogweb.ResponseContextpublic org.analogweb.ResponseContext.ResponseWriter getResponseWriter()
getResponseWriter in interface org.analogweb.ResponseContextpublic void setStatus(int status)
setStatus in interface org.analogweb.ResponseContextprotected int getStatus()
protected io.netty.handler.codec.http.FullHttpRequest getFullHttpRequest()
protected io.netty.channel.ChannelHandlerContext getChannelHandlerContext()
Copyright © 2014 Analog Web Framework Development Team. All Rights Reserved.