|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NetworkingConstants
| Field Summary | |
|---|---|
static java.lang.String |
CHARACTER_ENCODING
Character encoding for messages sent through the network. |
static java.lang.String |
CONTENT_LENGTH_STRING
The content-length http-like header indicator. |
static int |
CONTENT_LENGTH_STRING_LENGTH
The size of the content-length header indicator. |
static java.nio.charset.CharsetDecoder |
DECODER
The decoder to translate from bytes to Strings. |
static java.nio.charset.CharsetEncoder |
ENCODER
The encoder to translate from Strings to bytes. |
static java.lang.String |
HTTP_HEADER_LINE_DELIMITER
|
static java.lang.String |
HTTP_HEADER_TERMINATOR
The terminator string for the end of http-like headers. |
static int |
MAX_HTTP_HEADER_LENGTH
The maximum size an http-like header on a message may be, in bytes. |
static int |
MAX_PACKET_SIZE_BYTES
the maximum size of message acceptable by server in encoded BYTEs |
static int |
MAX_PACKET_SIZE_CHARACTERS
the maximum size of message acceptable by server in encoded CHARs |
static java.lang.String |
UNIQUE_IDENTIFIER_STRING
|
| Field Detail |
|---|
static final int MAX_PACKET_SIZE_CHARACTERS
static final int MAX_HTTP_HEADER_LENGTH
static final java.lang.String CONTENT_LENGTH_STRING
static final java.lang.String UNIQUE_IDENTIFIER_STRING
static final java.lang.String HTTP_HEADER_LINE_DELIMITER
static final java.lang.String HTTP_HEADER_TERMINATOR
static final int CONTENT_LENGTH_STRING_LENGTH
static final java.lang.String CHARACTER_ENCODING
static final java.nio.charset.CharsetEncoder ENCODER
static final java.nio.charset.CharsetDecoder DECODER
static final int MAX_PACKET_SIZE_BYTES
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||