|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.web.bindery.requestfactory.server.SimpleRequestProcessor
public class 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 | |
---|---|
(package private) static class |
SimpleRequestProcessor.IdToEntityMap
This parameterization is so long, it improves readability to have a specific type. |
Field Summary | |
---|---|
(package private) static Configuration |
CONFIGURATION
Allows the creation of properly-configured AutoBeans without having to create an AutoBeanFactory with the desired annotations. |
(package private) static MessageFactory |
FACTORY
Vends message objects. |
Constructor Summary | |
---|---|
SimpleRequestProcessor(ServiceLayer serviceLayer)
|
Method Summary | ||
---|---|---|
(package private)
|
createOobMessage(java.util.List<T> domainValues)
Encode a list of objects into a self-contained message that can be used for out-of-band communication. |
|
(package private)
|
decodeOobMessage(java.lang.Class<T> domainClass,
Splittable payload)
Decode an out-of-band message. |
|
(package private) static java.lang.String |
fromBase64(java.lang.String encoded)
|
|
(package private) void |
process(RequestMessage req,
ResponseMessage resp)
Main processing method. |
|
java.lang.String |
process(java.lang.String payload)
Process a payload sent by a RequestFactory client. |
|
void |
setExceptionHandler(ExceptionHandler exceptionHandler)
|
|
(package private) static java.lang.String |
toBase64(java.lang.String data)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final Configuration CONFIGURATION
static final MessageFactory FACTORY
Constructor Detail |
---|
public SimpleRequestProcessor(ServiceLayer serviceLayer)
Method Detail |
---|
static java.lang.String fromBase64(java.lang.String encoded)
static java.lang.String toBase64(java.lang.String data)
public java.lang.String process(java.lang.String payload)
payload
- the payload sent by the client
public void setExceptionHandler(ExceptionHandler exceptionHandler)
<T> Splittable createOobMessage(java.util.List<T> domainValues)
<T> java.util.List<T> decodeOobMessage(java.lang.Class<T> domainClass, Splittable payload)
void process(RequestMessage req, ResponseMessage resp)
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |