|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SerializationPolicyProvider
Implementations of this interface can be consulted by the
GWTRPCServiceExporter to provide serialization policies for a
specific request
| Method Summary | |
|---|---|
com.google.gwt.user.server.rpc.SerializationPolicy |
getSerializationPolicyForFailure(com.google.gwt.user.server.rpc.RPCRequest request,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] parameters,
java.lang.Throwable exception)
This method returns the appropriate serialization policy in case of a failed service invocation |
com.google.gwt.user.server.rpc.SerializationPolicy |
getSerializationPolicyForSuccess(com.google.gwt.user.server.rpc.RPCRequest request,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] parameters,
java.lang.Object result)
This method returns the appropriate serialization policy in case of a successful service invocation |
| Method Detail |
|---|
com.google.gwt.user.server.rpc.SerializationPolicy getSerializationPolicyForSuccess(com.google.gwt.user.server.rpc.RPCRequest request,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] parameters,
java.lang.Object result)
request - The RPCRequesttarget - The service object on which the method was invokedmethod - The method invokedparameters - Arguments provided to the method invokedresult - The result returned by the method
com.google.gwt.user.server.rpc.SerializationPolicy getSerializationPolicyForFailure(com.google.gwt.user.server.rpc.RPCRequest request,
java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] parameters,
java.lang.Throwable exception)
request - The RPCRequesttarget - The service object on which the method was invokedmethod - The method invokedparameters - Arguments provided to the method invokedexception - The exception thrown while invoking the method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||