|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CoreConnectionPNames
Defines parameter names for connections in HttpCore.
| Field Summary | |
|---|---|
static String |
CONNECTION_TIMEOUT
Determines the timeout in milliseconds until a connection is established. |
static String |
MAX_HEADER_COUNT
Determines the maximum HTTP header count allowed. |
static String |
MAX_LINE_LENGTH
Determines the maximum line length limit. |
static String |
SO_LINGER
Sets SO_LINGER with the specified linger time in seconds. |
static String |
SO_TIMEOUT
Defines the socket timeout ( SO_TIMEOUT) in milliseconds,
which is the timeout for waiting for data. |
static String |
SOCKET_BUFFER_SIZE
Determines the size of the internal socket buffer used to buffer data while receiving / transmitting HTTP messages. |
static String |
STALE_CONNECTION_CHECK
Determines whether stale connection check is to be used. |
static String |
TCP_NODELAY
Determines whether Nagle's algorithm is to be used. |
| Field Detail |
|---|
static final String SO_TIMEOUT
SO_TIMEOUT) in milliseconds,
which is the timeout for waiting for data. A timeout value of zero is
interpreted as an infinite timeout.
This parameter expects a value of type Integer.
SocketOptions.SO_TIMEOUT,
Constant Field Valuesstatic final String TCP_NODELAY
This parameter expects a value of type Boolean.
SocketOptions.TCP_NODELAY,
Constant Field Valuesstatic final String SOCKET_BUFFER_SIZE
This parameter expects a value of type Integer.
static final String SO_LINGER
0 implies that
the option is disabled. Value -1 implies that the JRE
default is used. The setting only affects socket close.
This parameter expects a value of type Integer.
SocketOptions.SO_LINGER,
Constant Field Valuesstatic final String CONNECTION_TIMEOUT
This parameter expects a value of type Integer.
static final String STALE_CONNECTION_CHECK
This parameter expects a value of type Boolean.
static final String MAX_LINE_LENGTH
This parameter expects a value of type Integer.
static final String MAX_HEADER_COUNT
This parameter expects a value of type Integer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||