Uses of Class
com.google.gwt.user.client.rpc.SerializationException
Packages that use 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
Subclasses of SerializationException in com.google.gwt.user.client.rpcModifier and TypeClassDescriptionclassException 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.Methods in com.google.gwt.user.client.rpc that throw SerializationExceptionModifier and TypeMethodDescriptionSerializationStreamFactory.createStreamReader(String encoded) Creates aSerializationStreamReaderfor the encoded string.abstract voidCustomFieldSerializer.deserializeInstance(SerializationStreamReader streamReader, T instance) Deserializes the content of the object from theSerializationStreamReader.CustomFieldSerializer.instantiateInstance(SerializationStreamReader streamReader) Instantiates an object from theSerializationStreamReader.booleanSerializationStreamReader.readBoolean()byteSerializationStreamReader.readByte()charSerializationStreamReader.readChar()doubleSerializationStreamReader.readDouble()floatSerializationStreamReader.readFloat()intSerializationStreamReader.readInt()longSerializationStreamReader.readLong()SerializationStreamReader.readObject()shortSerializationStreamReader.readShort()SerializationStreamReader.readString()abstract voidCustomFieldSerializer.serializeInstance(SerializationStreamWriter streamWriter, T instance) Serializes the content of the object into theSerializationStreamWriter.voidSerializationStreamWriter.writeBoolean(boolean value) voidSerializationStreamWriter.writeByte(byte value) voidSerializationStreamWriter.writeChar(char value) voidSerializationStreamWriter.writeDouble(double value) voidSerializationStreamWriter.writeFloat(float value) voidSerializationStreamWriter.writeInt(int value) voidSerializationStreamWriter.writeLong(long value) voidSerializationStreamWriter.writeObject(Object value) voidSerializationStreamWriter.writeShort(short value) voidSerializationStreamWriter.writeString(String value) -
Uses of SerializationException in com.google.gwt.user.server.rpc
Methods in com.google.gwt.user.server.rpc that throw SerializationExceptionModifier and TypeMethodDescriptionabstract voidServerCustomFieldSerializer.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 StringRPC.encodeResponseForFailedRequest(RPCRequest rpcRequest, Throwable cause) Returns a string that encodes an exception.static StringRPC.encodeResponseForFailure(Method serviceMethod, Throwable cause) Returns a string that encodes an exception.static StringRPC.encodeResponseForFailure(Method serviceMethod, Throwable cause, SerializationPolicy serializationPolicy) Returns a string that encodes an exception.static StringRPC.encodeResponseForFailure(Method serviceMethod, Throwable cause, SerializationPolicy serializationPolicy, int flags) static StringRPC.encodeResponseForSuccess(Method serviceMethod, Object object) Returns a string that encodes the object.static StringRPC.encodeResponseForSuccess(Method serviceMethod, Object object, SerializationPolicy serializationPolicy) Returns a string that encodes the object.static StringRPC.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 StringRPC.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 StringRPC.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 StringRPC.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 voidRemoteServiceServlet.processPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Standard HttpServlet method: handle the POST.abstract voidSerializationPolicy.validateDeserialize(Class<?> clazz) Validates that the specified class should be deserialized from a stream.abstract voidSerializationPolicy.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
Methods in com.google.gwt.user.server.rpc.jakarta that throw SerializationExceptionModifier and TypeMethodDescriptionstatic StringRPC.encodeResponseForFailedRequest(RPCRequest rpcRequest, Throwable cause) Returns a string that encodes an exception.static StringRPC.encodeResponseForFailure(Method serviceMethod, Throwable cause) Returns a string that encodes an exception.static StringRPC.encodeResponseForFailure(Method serviceMethod, Throwable cause, SerializationPolicy serializationPolicy) Returns a string that encodes an exception.static StringRPC.encodeResponseForFailure(Method serviceMethod, Throwable cause, SerializationPolicy serializationPolicy, int flags) static StringRPC.encodeResponseForSuccess(Method serviceMethod, Object object) Returns a string that encodes the object.static StringRPC.encodeResponseForSuccess(Method serviceMethod, Object object, SerializationPolicy serializationPolicy) Returns a string that encodes the object.static StringRPC.encodeResponseForSuccess(Method serviceMethod, Object object, SerializationPolicy serializationPolicy, int flags) static StringRPC.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 StringRPC.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 StringRPC.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 voidRemoteServiceServlet.processPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Standard HttpServlet method: handle the POST.