Uses of Class
com.google.gwt.user.client.rpc.SerializationException
-
Packages that use SerializationException Package Description com.google.gwt.user.client.rpc Classes used in client-side implementation of remote procedure calls.com.google.gwt.user.server.rpc Classes used in server-side implementation of remote procedure calls.com.google.gwt.user.server.rpc.jakarta 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.rpc Modifier and Type Class Description classSerializedTypeViolationExceptionException 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 SerializationException Modifier and Type Method Description SerializationStreamReaderSerializationStreamFactory. createStreamReader(java.lang.String encoded)Creates aSerializationStreamReaderfor the encoded string.abstract voidCustomFieldSerializer. deserializeInstance(SerializationStreamReader streamReader, T instance)Deserializes the content of the object from theSerializationStreamReader.TCustomFieldSerializer. instantiateInstance(SerializationStreamReader streamReader)Instantiates an object from theSerializationStreamReader.booleanSerializationStreamReader. readBoolean()byteSerializationStreamReader. readByte()charSerializationStreamReader. readChar()doubleSerializationStreamReader. readDouble()floatSerializationStreamReader. readFloat()intSerializationStreamReader. readInt()intSerializationStreamReader. readIntFromEnd()longSerializationStreamReader. readLong()java.lang.ObjectSerializationStreamReader. readObject()shortSerializationStreamReader. readShort()java.lang.StringSerializationStreamReader. 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(java.lang.Object value)voidSerializationStreamWriter. writeShort(short value)voidSerializationStreamWriter. writeString(java.lang.String value) -
Uses of SerializationException in com.google.gwt.user.server.rpc
Methods in com.google.gwt.user.server.rpc that throw SerializationException Modifier and Type Method Description abstract voidServerCustomFieldSerializer. deserializeInstance(com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader streamReader, T instance, java.lang.reflect.Type[] expectedParameterTypes, com.google.gwt.user.server.rpc.impl.DequeMap<java.lang.reflect.TypeVariable<?>,java.lang.reflect.Type> resolvedTypes)Deserializes the content of the object from theServerSerializationStreamReader, with type checking.static java.lang.StringRPC. encodeResponseForFailedRequest(RPCRequest rpcRequest, java.lang.Throwable cause)Returns a string that encodes an exception.static java.lang.StringRPC. encodeResponseForFailure(java.lang.reflect.Method serviceMethod, java.lang.Throwable cause)Returns a string that encodes an exception.static java.lang.StringRPC. encodeResponseForFailure(java.lang.reflect.Method serviceMethod, java.lang.Throwable cause, SerializationPolicy serializationPolicy)Returns a string that encodes an exception.static java.lang.StringRPC. encodeResponseForFailure(java.lang.reflect.Method serviceMethod, java.lang.Throwable cause, SerializationPolicy serializationPolicy, int flags)static java.lang.StringRPC. encodeResponseForSuccess(java.lang.reflect.Method serviceMethod, java.lang.Object object)Returns a string that encodes the object.static java.lang.StringRPC. encodeResponseForSuccess(java.lang.reflect.Method serviceMethod, java.lang.Object object, SerializationPolicy serializationPolicy)Returns a string that encodes the object.static java.lang.StringRPC. encodeResponseForSuccess(java.lang.reflect.Method serviceMethod, java.lang.Object object, SerializationPolicy serializationPolicy, int flags)(package private) static intRPC. getRpcVersion()TServerCustomFieldSerializer. instantiateInstance(com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader streamReader)Instantiates an object from theServerSerializationStreamReader, without type checking.TServerCustomFieldSerializer. instantiateInstance(com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader streamReader, java.lang.reflect.Type[] expectedParameterTypes, com.google.gwt.user.server.rpc.impl.DequeMap<java.lang.reflect.TypeVariable<?>,java.lang.reflect.Type> resolvedTypes)Instantiates an object from theServerSerializationStreamReader, with type checking.static java.lang.StringRPC. invokeAndEncodeResponse(java.lang.Object target, java.lang.reflect.Method serviceMethod, java.lang.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 java.lang.StringRPC. invokeAndEncodeResponse(java.lang.Object target, java.lang.reflect.Method serviceMethod, java.lang.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 java.lang.StringRPC. invokeAndEncodeResponse(java.lang.Object target, java.lang.reflect.Method serviceMethod, java.lang.Object[] args, SerializationPolicy serializationPolicy, int flags)java.lang.StringRemoteServiceServlet. processCall(RPCRequest rpcRequest)Process an already decoded RPC request.java.lang.StringRemoteServiceServlet. processCall(java.lang.String payload)Process a call originating from the given request.voidRemoteServiceServlet. processPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Standard HttpServlet method: handle the POST.abstract voidSerializationPolicy. validateDeserialize(java.lang.Class<?> clazz)Validates that the specified class should be deserialized from a stream.abstract voidSerializationPolicy. validateSerialize(java.lang.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 SerializationException Modifier and Type Method Description static java.lang.StringRPC. encodeResponseForFailedRequest(RPCRequest rpcRequest, java.lang.Throwable cause)Returns a string that encodes an exception.static java.lang.StringRPC. encodeResponseForFailure(java.lang.reflect.Method serviceMethod, java.lang.Throwable cause)Returns a string that encodes an exception.static java.lang.StringRPC. encodeResponseForFailure(java.lang.reflect.Method serviceMethod, java.lang.Throwable cause, SerializationPolicy serializationPolicy)Returns a string that encodes an exception.static java.lang.StringRPC. encodeResponseForFailure(java.lang.reflect.Method serviceMethod, java.lang.Throwable cause, SerializationPolicy serializationPolicy, int flags)static java.lang.StringRPC. encodeResponseForSuccess(java.lang.reflect.Method serviceMethod, java.lang.Object object)Returns a string that encodes the object.static java.lang.StringRPC. encodeResponseForSuccess(java.lang.reflect.Method serviceMethod, java.lang.Object object, SerializationPolicy serializationPolicy)Returns a string that encodes the object.static java.lang.StringRPC. encodeResponseForSuccess(java.lang.reflect.Method serviceMethod, java.lang.Object object, SerializationPolicy serializationPolicy, int flags)(package private) static intRPC. getRpcVersion()static java.lang.StringRPC. invokeAndEncodeResponse(java.lang.Object target, java.lang.reflect.Method serviceMethod, java.lang.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 java.lang.StringRPC. invokeAndEncodeResponse(java.lang.Object target, java.lang.reflect.Method serviceMethod, java.lang.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 java.lang.StringRPC. invokeAndEncodeResponse(java.lang.Object target, java.lang.reflect.Method serviceMethod, java.lang.Object[] args, SerializationPolicy serializationPolicy, int flags)java.lang.StringRemoteServiceServlet. processCall(RPCRequest rpcRequest)Process an already decoded RPC request.java.lang.StringRemoteServiceServlet. processCall(java.lang.String payload)Process a call originating from the given request.voidRemoteServiceServlet. processPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)Standard HttpServlet method: handle the POST.
-