class SerializationPolicyClient
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
SerializationPolicyClient.Logger
Destination for the loader's log messages.
|
Constructor and Description |
---|
SerializationPolicyClient(int connectTimeoutMs,
int readTimeoutMs)
Creates an client with the given configuration,
|
Modifier and Type | Method and Description |
---|---|
(package private) SerializationPolicy |
loadPolicy(java.lang.String url,
SerializationPolicyClient.Logger logger) |
SerializationPolicyClient(int connectTimeoutMs, int readTimeoutMs)
connectTimeoutMs
- see URLConnection.setConnectTimeout(int)
readTimeoutMs
- see URLConnection.setReadTimeout(int)
SerializationPolicy loadPolicy(java.lang.String url, SerializationPolicyClient.Logger logger)