Class SimpleRequestProcessor
java.lang.Object
com.google.web.bindery.requestfactory.server.SimpleRequestProcessor
Processes request payloads from a RequestFactory client. This implementation
 is stateless. A single instance may be reused and is thread-safe.
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static classThis parameterization is so long, it improves readability to have a specific type. - 
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final ConfigurationAllows the creation of properly-configured AutoBeans without having to create an AutoBeanFactory with the desired annotations.(package private) static final MessageFactoryVends message objects. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription(package private) <T> SplittablecreateOobMessage(List<T> domainValues) Encode a list of objects into a self-contained message that can be used for out-of-band communication.(package private) <T> List<T> decodeOobMessage(Class<T> domainClass, Splittable payload) Decode an out-of-band message.(package private) static StringfromBase64(String encoded) (package private) voidprocess(RequestMessage req, ResponseMessage resp) Main processing method.Process a payload sent by a RequestFactory client.voidsetExceptionHandler(ExceptionHandler exceptionHandler) (package private) static String 
- 
Field Details
- 
CONFIGURATION
Allows the creation of properly-configured AutoBeans without having to create an AutoBeanFactory with the desired annotations. - 
FACTORY
Vends message objects. 
 - 
 - 
Constructor Details
- 
SimpleRequestProcessor
 
 - 
 - 
Method Details
- 
fromBase64
 - 
toBase64
 - 
process
Process a payload sent by a RequestFactory client.- Parameters:
 payload- the payload sent by the client- Returns:
 - a payload to return to the client
 
 - 
setExceptionHandler
 - 
createOobMessage
Encode a list of objects into a self-contained message that can be used for out-of-band communication. 
 -