Package com.google.gwt.user.server.rpc
Class SerializationPolicyClient
java.lang.Object
com.google.gwt.user.server.rpc.SerializationPolicyClient
A simple and relatively naive client for downloading serialization policies from a URL.
(Intended only for development.)
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static interface
Destination for the loader's log messages. -
Constructor Summary
ConstructorDescriptionSerializationPolicyClient
(int connectTimeoutMs, int readTimeoutMs) Creates an client with the given configuration, -
Method Summary
Modifier and TypeMethodDescription(package private) SerializationPolicy
loadPolicy
(String url, SerializationPolicyClient.Logger logger)
-
Constructor Details
-
SerializationPolicyClient
SerializationPolicyClient(int connectTimeoutMs, int readTimeoutMs) Creates an client with the given configuration,- Parameters:
connectTimeoutMs
- seeURLConnection.setConnectTimeout(int)
readTimeoutMs
- seeURLConnection.setReadTimeout(int)
-
-
Method Details
-
loadPolicy
-