Uses of Class
com.google.gwt.user.client.rpc.SerializationException
Package
Description
Classes used in client-side implementation of remote procedure calls.
Classes used in server-side implementation of remote procedure calls.
Jakarta-specific package for server-only classes.
-
Uses of SerializationException in com.google.gwt.user.client.rpc
Modifier and TypeClassDescriptionclass
Exception that will be passed to theAsyncCallback.onFailure(Throwable)
method when the value of an argument to a method in an RPC message is of the incorrect type.Modifier and TypeMethodDescriptionSerializationStreamFactory.createStreamReader
(String encoded) Creates aSerializationStreamReader
for the encoded string.abstract void
CustomFieldSerializer.deserializeInstance
(SerializationStreamReader streamReader, T instance) Deserializes the content of the object from theSerializationStreamReader
.CustomFieldSerializer.instantiateInstance
(SerializationStreamReader streamReader) Instantiates an object from theSerializationStreamReader
.boolean
SerializationStreamReader.readBoolean()
byte
SerializationStreamReader.readByte()
char
SerializationStreamReader.readChar()
double
SerializationStreamReader.readDouble()
float
SerializationStreamReader.readFloat()
int
SerializationStreamReader.readInt()
long
SerializationStreamReader.readLong()
SerializationStreamReader.readObject()
short
SerializationStreamReader.readShort()
SerializationStreamReader.readString()
abstract void
CustomFieldSerializer.serializeInstance
(SerializationStreamWriter streamWriter, T instance) Serializes the content of the object into theSerializationStreamWriter
.void
SerializationStreamWriter.writeBoolean
(boolean value) void
SerializationStreamWriter.writeByte
(byte value) void
SerializationStreamWriter.writeChar
(char value) void
SerializationStreamWriter.writeDouble
(double value) void
SerializationStreamWriter.writeFloat
(float value) void
SerializationStreamWriter.writeInt
(int value) void
SerializationStreamWriter.writeLong
(long value) void
SerializationStreamWriter.writeObject
(Object value) void
SerializationStreamWriter.writeShort
(short value) void
SerializationStreamWriter.writeString
(String value) -
Uses of SerializationException in com.google.gwt.user.server.rpc
Modifier and TypeMethodDescriptionabstract void
ServerCustomFieldSerializer.deserializeInstance
(com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader streamReader, T instance, Type[] expectedParameterTypes, com.google.gwt.user.server.rpc.impl.DequeMap<TypeVariable<?>, Type> resolvedTypes) Deserializes the content of the object from theServerSerializationStreamReader
, with type checking.static String
RPC.encodeResponseForFailedRequest
(RPCRequest rpcRequest, Throwable cause) Returns a string that encodes an exception.static String
RPC.encodeResponseForFailure
(Method serviceMethod, Throwable cause) Returns a string that encodes an exception.static String
RPC.encodeResponseForFailure
(Method serviceMethod, Throwable cause, SerializationPolicy serializationPolicy) Returns a string that encodes an exception.static String
RPC.encodeResponseForFailure
(Method serviceMethod, Throwable cause, SerializationPolicy serializationPolicy, int flags) static String
RPC.encodeResponseForSuccess
(Method serviceMethod, Object object) Returns a string that encodes the object.static String
RPC.encodeResponseForSuccess
(Method serviceMethod, Object object, SerializationPolicy serializationPolicy) Returns a string that encodes the object.static String
RPC.encodeResponseForSuccess
(Method serviceMethod, Object object, SerializationPolicy serializationPolicy, int flags) ServerCustomFieldSerializer.instantiateInstance
(com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader streamReader) Instantiates an object from theServerSerializationStreamReader
, without type checking.ServerCustomFieldSerializer.instantiateInstance
(com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader streamReader, Type[] expectedParameterTypes, com.google.gwt.user.server.rpc.impl.DequeMap<TypeVariable<?>, Type> resolvedTypes) Instantiates an object from theServerSerializationStreamReader
, with type checking.static String
RPC.invokeAndEncodeResponse
(Object target, Method serviceMethod, Object[] args) Returns a string that encodes the result of calling a service method, which could be the value returned by the method or an exception thrown by it.static String
RPC.invokeAndEncodeResponse
(Object target, Method serviceMethod, Object[] args, SerializationPolicy serializationPolicy) Returns a string that encodes the result of calling a service method, which could be the value returned by the method or an exception thrown by it.static String
RPC.invokeAndEncodeResponse
(Object target, Method serviceMethod, Object[] args, SerializationPolicy serializationPolicy, int flags) RemoteServiceServlet.processCall
(RPCRequest rpcRequest) Process an already decoded RPC request.RemoteServiceServlet.processCall
(String payload) Process a call originating from the given request.final void
RemoteServiceServlet.processPost
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Standard HttpServlet method: handle the POST.abstract void
SerializationPolicy.validateDeserialize
(Class<?> clazz) Validates that the specified class should be deserialized from a stream.abstract void
SerializationPolicy.validateSerialize
(Class<?> clazz) Validates that the specified class should be serialized into a stream. -
Uses of SerializationException in com.google.gwt.user.server.rpc.jakarta
Modifier and TypeMethodDescriptionstatic String
RPC.encodeResponseForFailedRequest
(RPCRequest rpcRequest, Throwable cause) Returns a string that encodes an exception.static String
RPC.encodeResponseForFailure
(Method serviceMethod, Throwable cause) Returns a string that encodes an exception.static String
RPC.encodeResponseForFailure
(Method serviceMethod, Throwable cause, SerializationPolicy serializationPolicy) Returns a string that encodes an exception.static String
RPC.encodeResponseForFailure
(Method serviceMethod, Throwable cause, SerializationPolicy serializationPolicy, int flags) static String
RPC.encodeResponseForSuccess
(Method serviceMethod, Object object) Returns a string that encodes the object.static String
RPC.encodeResponseForSuccess
(Method serviceMethod, Object object, SerializationPolicy serializationPolicy) Returns a string that encodes the object.static String
RPC.encodeResponseForSuccess
(Method serviceMethod, Object object, SerializationPolicy serializationPolicy, int flags) static String
RPC.invokeAndEncodeResponse
(Object target, Method serviceMethod, Object[] args) Returns a string that encodes the result of calling a service method, which could be the value returned by the method or an exception thrown by it.static String
RPC.invokeAndEncodeResponse
(Object target, Method serviceMethod, Object[] args, SerializationPolicy serializationPolicy) Returns a string that encodes the result of calling a service method, which could be the value returned by the method or an exception thrown by it.static String
RPC.invokeAndEncodeResponse
(Object target, Method serviceMethod, Object[] args, SerializationPolicy serializationPolicy, int flags) RemoteServiceServlet.processCall
(RPCRequest rpcRequest) Process an already decoded RPC request.RemoteServiceServlet.processCall
(String payload) Process a call originating from the given request.final void
RemoteServiceServlet.processPost
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Standard HttpServlet method: handle the POST.