public class NettyHttpResponse extends Object implements io.netty.handler.codec.http.HttpResponse, Recyclable, Flushable
| 限定符和类型 | 字段和说明 |
|---|---|
static io.netty.handler.codec.http.HttpResponseStatus |
DEFAULT_STATUS |
| 构造器和说明 |
|---|
NettyHttpResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
io.netty.handler.codec.DecoderResult |
decoderResult() |
io.netty.handler.codec.http.LastHttpContent |
enableTransferEncodingChunked()
enableTransferEncodingChunked
|
boolean |
equals(Object o) |
void |
flush() |
io.netty.handler.codec.DecoderResult |
getDecoderResult() |
io.netty.handler.codec.http.LastHttpContent |
getLastHttpContent() |
io.netty.handler.codec.http.HttpVersion |
getProtocolVersion() |
io.netty.handler.codec.http.HttpResponseStatus |
getStatus() |
int |
hashCode() |
io.netty.handler.codec.http.HttpHeaders |
headers() |
boolean |
isTransferEncodingChunked() |
io.netty.handler.codec.http.HttpVersion |
protocolVersion() |
void |
recycle()
recycle
|
void |
setDecoderResult(io.netty.handler.codec.DecoderResult result) |
NettyHttpResponse |
setProtocolVersion(io.netty.handler.codec.http.HttpVersion version) |
NettyHttpResponse |
setStatus(io.netty.handler.codec.http.HttpResponseStatus status) |
io.netty.handler.codec.http.HttpResponseStatus |
status() |
String |
toString() |
recyclepublic static final io.netty.handler.codec.http.HttpResponseStatus DEFAULT_STATUS
public io.netty.handler.codec.http.LastHttpContent enableTransferEncodingChunked()
public boolean isTransferEncodingChunked()
public io.netty.handler.codec.http.HttpResponseStatus getStatus()
getStatus 在接口中 io.netty.handler.codec.http.HttpResponsepublic io.netty.handler.codec.http.HttpVersion getProtocolVersion()
getProtocolVersion 在接口中 io.netty.handler.codec.http.HttpMessagepublic io.netty.handler.codec.DecoderResult getDecoderResult()
getDecoderResult 在接口中 io.netty.handler.codec.http.HttpObjectpublic io.netty.handler.codec.http.HttpResponseStatus status()
status 在接口中 io.netty.handler.codec.http.HttpResponsepublic io.netty.handler.codec.http.HttpVersion protocolVersion()
protocolVersion 在接口中 io.netty.handler.codec.http.HttpMessagepublic io.netty.handler.codec.DecoderResult decoderResult()
decoderResult 在接口中 io.netty.handler.codec.DecoderResultProviderpublic NettyHttpResponse setStatus(io.netty.handler.codec.http.HttpResponseStatus status)
setStatus 在接口中 io.netty.handler.codec.http.HttpResponsepublic io.netty.handler.codec.http.LastHttpContent getLastHttpContent()
public NettyHttpResponse setProtocolVersion(io.netty.handler.codec.http.HttpVersion version)
setProtocolVersion 在接口中 io.netty.handler.codec.http.HttpMessagesetProtocolVersion 在接口中 io.netty.handler.codec.http.HttpResponsepublic io.netty.handler.codec.http.HttpHeaders headers()
headers 在接口中 io.netty.handler.codec.http.HttpMessagepublic void setDecoderResult(io.netty.handler.codec.DecoderResult result)
setDecoderResult 在接口中 io.netty.handler.codec.DecoderResultProviderpublic void recycle()
Recyclablerecycle 在接口中 Recyclablepublic void flush()
throws IOException
flush 在接口中 FlushableIOExceptionCopyright © 2021. All rights reserved.