List of usage examples for com.google.gwt.user.client.rpc ServiceDefTarget getSerializationPolicyName
String getSerializationPolicyName();
From source file:com.github.manishahluwalia.gwt.rpcwrapper.client.RpcWrapper.java
License:Apache License
/** * Given a basic GWT-RPC proxy service, wrap it to have the qualities of * {@link RpcWrapper}/*www . ja v a 2 s . c o m*/ * * @param service * A GWT-RPC proxy. Usually, acquired through * {@link GWT#create(Class)} * @return A wrapped GWT-RPC proxy */ public ServiceDefTarget wrapService(ServiceDefTarget service) { logger.finest("Wrapping service: " + service.getClass().getName() + " at " + service.getServiceEntryPoint() + " with policy " + service.getSerializationPolicyName()); service.setRpcRequestBuilder(builder); return service; }