public class TesterAjpMessage
extends org.apache.coyote.ajp.AjpMessage
AjpMessage to provide additional methods for reading from the
message.
TODO: See if it makes sense for any/all of these methods to be transferred to
AjpMessage| Constructor and Description |
|---|
TesterAjpMessage(int packetSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(int code,
String value) |
void |
addHeader(String name,
String value) |
void |
end() |
byte[] |
raw() |
byte |
readByte() |
String |
readHeaderName() |
int |
readInt() |
String |
readString() |
String |
readString(int len) |
void |
reset() |
appendByte, appendByteChunk, appendBytes, appendBytes, appendCharChunk, appendInt, appendString, dump, getBodyBytes, getBuffer, getByte, getBytes, getHeaderLength, getInt, getLen, getLongInt, getPacketSize, hex, hexLine, peekInt, processHeader, processHeaderpublic byte[] raw()
public byte readByte()
public int readInt()
public String readString()
public String readString(int len)
public String readHeaderName()
public void addHeader(int code,
String value)
public void end()
end in class org.apache.coyote.ajp.AjpMessagepublic void reset()
reset in class org.apache.coyote.ajp.AjpMessageCopyright © 2013. All rights reserved.