public class HttpPacket extends ImPacket
Constructor and Description |
---|
HttpPacket() |
Modifier and Type | Method and Description |
---|---|
void |
addHeader(String key,
String value) |
void |
addHeaders(Map<String,String> headers) |
String |
getHeader(String key) |
Map<String,String> |
getHeaders() |
String |
getHeaderString() |
static void |
main(String[] args) |
void |
removeHeader(String key,
String value) |
void |
setHeaders(Map<String,String> headers) |
void |
setHeaderString(String headerString) |
calcHeaderLength, decode4ByteLength, decodeCompress, decodeHasSynSeq, decodeVersion, encode4ByteLength, encodeCompress, encodeEncrypt, encodeHasSynSeq, getBody, getCommand, getStatus, isFromCluster, logstr, setBody, setCommand, setFromCluster, setStatus
clone, getByteCount, getId, getMeta, getPacketListener, getPreEncodedByteBuffer, getRespId, getSynSeq, isBlockSend, isSslEncrypted, setBlockSend, setByteCount, setId, setMeta, setPacketListener, setPreEncodedByteBuffer, setRespId, setSslEncrypted, setSynSeq
Copyright © 2018. All rights reserved.