public final class HttpRequestMessage extends ByteBufMessage
| 限定符和类型 | 字段和说明 |
|---|---|
byte[] |
body |
Map<String,String> |
headers |
byte |
method |
String |
uri |
connection, packet| 构造器和说明 |
|---|
HttpRequestMessage(Connection connection) |
HttpRequestMessage(Packet message,
Connection connection) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
decode(ByteBuffer body) |
void |
encode(ByteBuf body) |
String |
getMethod() |
decode, decodeByte, decodeBytes, decodeInt, decodeLong, decodeString, encode, encodeByte, encodeBytes, encodeInt, encodeLong, encodeStringcreateResponse, decodeBody, encodeBody, genSessionId, getConnection, getPacket, getSessionId, send, sendRaw, toStringpublic byte method
public String uri
public byte[] body
public HttpRequestMessage(Connection connection)
public HttpRequestMessage(Packet message, Connection connection)
public void decode(ByteBuffer body)
decode 在类中 ByteBufMessagepublic void encode(ByteBuf body)
encode 在类中 ByteBufMessagepublic String getMethod()
Copyright © 2016. All rights reserved.