GWT 2.7.0

com.google.gwt.user.server.rpc
Class SerializationPolicyClient

java.lang.Object
  extended by com.google.gwt.user.server.rpc.SerializationPolicyClient

 class SerializationPolicyClient
extends java.lang.Object

A simple and relatively naive client for downloading serialization policies from a URL. (Intended only for development.)


Nested Class Summary
(package private) static interface SerializationPolicyClient.Logger
          Destination for the loader's log messages.
 
Constructor Summary
SerializationPolicyClient(int connectTimeoutMs, int readTimeoutMs)
          Creates an client with the given configuration,
 
Method Summary
(package private)  SerializationPolicy loadPolicy(java.lang.String url, SerializationPolicyClient.Logger logger)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializationPolicyClient

SerializationPolicyClient(int connectTimeoutMs,
                          int readTimeoutMs)
Creates an client with the given configuration,

Parameters:
connectTimeoutMs - see URLConnection.setConnectTimeout(int)
readTimeoutMs - see URLConnection.setReadTimeout(int)
Method Detail

loadPolicy

SerializationPolicy loadPolicy(java.lang.String url,
                               SerializationPolicyClient.Logger logger)

GWT 2.7.0