public class Message
extends java.lang.Object
The length field of a message does not have to be used (initialized) as the
default length is DEFAULT_MESSAGE_LENGTH (1).
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MESSAGE_LENGTH |
| Modifier and Type | Method and Description |
|---|---|
long |
getLength() |
void |
printContent(java.io.PrintWriter out) |
void |
printHeader(java.io.PrintWriter out) |
void |
printMessage(java.io.PrintWriter out) |
void |
setLength(long length) |
public static final int DEFAULT_MESSAGE_LENGTH