public class HttpRequest extends AbstractRequest
HttpClientCodec
and HttpServerCodec
and HttpObjectAggregator to handle http message.| 构造器和说明 |
|---|
HttpRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
io.netty.buffer.ByteBuf |
content() |
static HttpRequest |
getHttpRequest() |
Object |
getMsg()
The msg param is the real request content to sent by netty.
|
io.netty.handler.codec.http.HttpHeaders |
headers() |
void |
release() |
void |
reset() |
Request |
retain() |
void |
setMsg(Object o) |
String |
uri() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArgs, getAuth, getBinaryAttachment, getCallback, getChannel, getClientName, getCompressType, getCorrelationId, getException, getKvAttachment, getLogId, getMethodName, getNsHead, getParentSpanId, getReadTimeoutMillis, getRpcFuture, getRpcMethodInfo, getSelectedInstances, getSendBuf, getServiceName, getServiceTag, getSpanId, getSpHead, getSubscribeInfo, getTarget, getTargetMethod, getTraceId, getWriteTimeoutMillis, isOneWay, setArgs, setAuth, setBinaryAttachment, setCallback, setChannel, setClientName, setCompressType, setCorrelationId, setException, setKvAttachment, setLogId, setMethodName, setNsHead, setOneWay, setParentSpanId, setReadTimeoutMillis, setRpcFuture, setRpcMethodInfo, setSelectedInstances, setSendBuf, setServiceName, setServiceTag, setSpanId, setSpHead, setSubscribeInfo, setTarget, setTargetMethod, setTraceId, setWriteTimeoutMillispublic static HttpRequest getHttpRequest()
public Object getMsg()
RequestFullHttpRequest.
For tcp protocols, the msg may be an instance of byte[].HttpRequest,
RpcRequestpublic void setMsg(Object o)
public void reset()
reset 在接口中 Requestreset 在类中 AbstractRequestpublic Request retain()
retain 在接口中 Requestretain 在类中 AbstractRequestpublic void release()
release 在接口中 Requestrelease 在类中 AbstractRequestpublic io.netty.handler.codec.http.HttpHeaders headers()
public String uri()
public io.netty.buffer.ByteBuf content()
Copyright © 2019 Baidu, Inc.. All rights reserved.