Deprecated
(4.3) use configuration classes provided 'org.apache.http.config' and 'org.apache.http.client.config'
HttpParams.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: connect timeout.HTTP parameters. params)
Deprecated
as a consequence of
Obtains value of the HttpParams being deprecated.
CoreConnectionPNames#CONNECTION_TIMEOUT
parameter.
|
| public static int | Returns: SO_LINGER.HTTP parameters. params)
Deprecated
as a consequence of
Obtains value of the HttpParams being deprecated.
CoreConnectionPNames#SO_LINGER parameter.
|
| public static int | Returns: socket buffer sizeHTTP parameters. params)
Deprecated
as a consequence of
Obtains value of the HttpParams being deprecated.
CoreConnectionPNames#SOCKET_BUFFER_SIZE
parameter.
|
| public static boolean | Returns: SO_KEEPALIVE.HTTP parameters. params)
Deprecated
as a consequence of
Obtains value of the HttpParams being deprecated.
CoreConnectionPNames#SO_KEEPALIVE parameter.
|
| public static boolean | Returns: SO_REUSEADDR.HTTP parameters. params)
Deprecated
as a consequence of
Obtains value of the HttpParams being deprecated.
CoreConnectionPNames#SO_REUSEADDR parameter.
|
| public static int | Returns: SO_TIMEOUT.HTTP parameters. params)
Deprecated
as a consequence of
Obtains value of the HttpParams being deprecated.
CoreConnectionPNames#SO_TIMEOUT parameter.
|
| public static boolean | Returns: Nagle's algorithm flagHTTP parameters. params)
Deprecated
as a consequence of
Obtains value of the HttpParams being deprecated.
CoreConnectionPNames#TCP_NODELAY parameter.
|
| public static boolean | Returns: stale connection check flag.HTTP parameters. params)
Deprecated
as a consequence of
Obtains value of the HttpParams being deprecated.
CoreConnectionPNames#STALE_CONNECTION_CHECK
parameter.
|
| public static void | setConnectionTimeout(final HttpParams
HTTP parameters. params, final int connect timeout. timeout)
Deprecated
as a consequence of
Sets value of the HttpParams being deprecated.
CoreConnectionPNames#CONNECTION_TIMEOUT
parameter.
|
| public static void | setLinger(final HttpParams
HTTP parameters. params, final int SO_LINGER. value)
Deprecated
as a consequence of
Sets value of the HttpParams being deprecated.
CoreConnectionPNames#SO_LINGER parameter.
|
| public static void | setSocketBufferSize(final HttpParams
HTTP parameters. params, final int socket buffer size size)
Deprecated
as a consequence of
Sets value of the HttpParams being deprecated.
CoreConnectionPNames#SOCKET_BUFFER_SIZE
parameter.
|
| public static void | setSoKeepalive(final HttpParams
HTTP parameters. params, final boolean SO_KEEPALIVE. enableKeepalive)
Deprecated
as a consequence of
Sets value of the HttpParams being deprecated.
CoreConnectionPNames#SO_KEEPALIVE parameter.
|
| public static void | setSoReuseaddr(final HttpParams
HTTP parameters. params, final boolean SO_REUSEADDR. reuseaddr)
Deprecated
as a consequence of
Sets value of the HttpParams being deprecated.
CoreConnectionPNames#SO_REUSEADDR parameter.
|
| public static void | setSoTimeout(final HttpParams
HTTP parameters. params, final int SO_TIMEOUT. timeout)
Deprecated
as a consequence of
Sets value of the HttpParams being deprecated.
CoreConnectionPNames#SO_TIMEOUT parameter.
|
| public static void | setStaleCheckingEnabled(final HttpParams
HTTP parameters. params, final boolean stale connection check flag. value)
Deprecated
as a consequence of
Sets value of the HttpParams being deprecated.
CoreConnectionPNames#STALE_CONNECTION_CHECK
parameter.
|
| public static void | setTcpNoDelay(final HttpParams
HTTP parameters. params, final boolean Nagle's algorithm flag value)
Deprecated
as a consequence of
Sets value of the HttpParams being deprecated.
CoreConnectionPNames#TCP_NODELAY parameter.
|
| HttpConnectionParams | back to summary |
|---|---|
| private HttpConnectionParams() | |
| getConnectionTimeout | back to summary |
|---|---|
| public static int getConnectionTimeout(final HttpParams params)
Deprecated as a consequence of Obtains value of the
| |
| getLinger | back to summary |
|---|---|
| public static int getLinger(final HttpParams params)
Deprecated as a consequence of Obtains value of the
| |
| getSocketBufferSize | back to summary |
|---|---|
| public static int getSocketBufferSize(final HttpParams params)
Deprecated as a consequence of Obtains value of the
| |
| getSoKeepalive | back to summary |
|---|---|
| public static boolean getSoKeepalive(final HttpParams params)
Deprecated as a consequence of Obtains value of the
| |
| getSoReuseaddr | back to summary |
|---|---|
| public static boolean getSoReuseaddr(final HttpParams params)
Deprecated as a consequence of Obtains value of the
| |
| getSoTimeout | back to summary |
|---|---|
| public static int getSoTimeout(final HttpParams params)
Deprecated as a consequence of Obtains value of the
| |
| getTcpNoDelay | back to summary |
|---|---|
| public static boolean getTcpNoDelay(final HttpParams params)
Deprecated as a consequence of Obtains value of the
| |
| isStaleCheckingEnabled | back to summary |
|---|---|
| public static boolean isStaleCheckingEnabled(final HttpParams params)
Deprecated as a consequence of Obtains value of the
| |
| setConnectionTimeout | back to summary |
|---|---|
| public static void setConnectionTimeout(final HttpParams params, final int timeout)
Deprecated as a consequence of Sets value of the
| |
| setLinger | back to summary |
|---|---|
| public static void setLinger(final HttpParams params, final int value)
Deprecated as a consequence of Sets value of the
| |
| setSocketBufferSize | back to summary |
|---|---|
| public static void setSocketBufferSize(final HttpParams params, final int size)
Deprecated as a consequence of Sets value of the
| |
| setSoKeepalive | back to summary |
|---|---|
| public static void setSoKeepalive(final HttpParams params, final boolean enableKeepalive)
Deprecated as a consequence of Sets value of the
| |
| setSoReuseaddr | back to summary |
|---|---|
| public static void setSoReuseaddr(final HttpParams params, final boolean reuseaddr)
Deprecated as a consequence of Sets value of the
| |
| setSoTimeout | back to summary |
|---|---|
| public static void setSoTimeout(final HttpParams params, final int timeout)
Deprecated as a consequence of Sets value of the
| |
| setStaleCheckingEnabled | back to summary |
|---|---|
| public static void setStaleCheckingEnabled(final HttpParams params, final boolean value)
Deprecated as a consequence of Sets value of the
| |
| setTcpNoDelay | back to summary |
|---|---|
| public static void setTcpNoDelay(final HttpParams params, final boolean value)
Deprecated as a consequence of Sets value of the
| |