public final class DigipostHttpClientDefaults
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DigipostHttpClientDefaults.ConnectionAmount |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECT_TIMEOUT_MS
Connect timeout: 10000 ms.
|
static DigipostHttpClientDefaults.ConnectionAmount |
CONNECTION_AMOUNT_HIGH |
static DigipostHttpClientDefaults.ConnectionAmount |
CONNECTION_AMOUNT_MEDIUM |
static DigipostHttpClientDefaults.ConnectionAmount |
CONNECTION_AMOUNT_NORMAL |
static int |
CONNECTION_REQUEST_TIMEOUT_MS
Connection request timeout: 10000 ms.
|
static DigipostHttpClientMillisecondTimeouts |
DEFAULT_TIMEOUTS_MS
The default timeouts:
SOCKET_TIMEOUT_MS: 10000 ms
CONNECT_TIMEOUT_MS: 10000 ms
CONNECTION_REQUEST_TIMEOUT_MS: 10000 ms
|
static int |
MAX_CONNECTIONS_PER_ROUTE_HIGH
Maximum 100 connections
per route for high amount of traffic.
|
static int |
MAX_CONNECTIONS_PER_ROUTE_MEDIUM
Maximum 50 connections
per route for medium amount of traffic.
|
static int |
MAX_CONNECTIONS_PER_ROUTE_NORMAL
Maximum 10 connections
per route for normal amount of traffic.
|
static int |
MAX_CONNECTIONS_TOTAL_HIGH
Maximum 100
total connections for high amount of traffic.
|
static int |
MAX_CONNECTIONS_TOTAL_MEDIUM
Maximum 50
total connections for medium amount of traffic.
|
static int |
MAX_CONNECTIONS_TOTAL_NORMAL
Maximum 10
total connections for normal amount of traffic.
|
static int |
SOCKET_TIMEOUT_MS
Socket timeout: 10000 ms.
|
public static final int SOCKET_TIMEOUT_MS
public static final int CONNECT_TIMEOUT_MS
public static final int CONNECTION_REQUEST_TIMEOUT_MS
public static final DigipostHttpClientMillisecondTimeouts DEFAULT_TIMEOUTS_MS
public static final int MAX_CONNECTIONS_PER_ROUTE_NORMAL
Apache HttpClient default: 2
public static final int MAX_CONNECTIONS_TOTAL_NORMAL
Apache HttpClient default: 20
public static final int MAX_CONNECTIONS_PER_ROUTE_MEDIUM
Apache HttpClient default: 2
public static final int MAX_CONNECTIONS_TOTAL_MEDIUM
Apache HttpClient default: 20
public static final int MAX_CONNECTIONS_PER_ROUTE_HIGH
Apache HttpClient default: 2
public static final int MAX_CONNECTIONS_TOTAL_HIGH
Apache HttpClient default: 20
public static final DigipostHttpClientDefaults.ConnectionAmount CONNECTION_AMOUNT_NORMAL
public static final DigipostHttpClientDefaults.ConnectionAmount CONNECTION_AMOUNT_MEDIUM
public static final DigipostHttpClientDefaults.ConnectionAmount CONNECTION_AMOUNT_HIGH
Copyright © 2016 Digipost. All Rights Reserved.