org.atmosphere.gwt.shared.server
Class GwtRpcUtil
java.lang.Object
org.atmosphere.gwt.shared.server.GwtRpcUtil
public class GwtRpcUtil
- extends Object
- Author:
- p.havelaar
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GwtRpcUtil
public GwtRpcUtil()
getSerializationPolicyProvider
public static com.google.gwt.user.server.rpc.SerializationPolicyProvider getSerializationPolicyProvider()
getSerializationPolicy
public static com.google.gwt.user.server.rpc.SerializationPolicy getSerializationPolicy()
streamToString
public static String streamToString(InputStream in,
String charset)
throws IOException,
UnsupportedEncodingException
- Throws:
IOException
UnsupportedEncodingException
readerToString
public static String readerToString(BufferedReader r)
throws IOException
- Throws:
IOException
deserialize
public static Object deserialize(String data)
throws com.google.gwt.user.client.rpc.SerializationException
- Throws:
com.google.gwt.user.client.rpc.SerializationException
serialize
public static String serialize(Object message)
throws com.google.gwt.user.client.rpc.SerializationException
- Throws:
com.google.gwt.user.client.rpc.SerializationException
Copyright © 2013. All Rights Reserved.