Package com.dyuproject.web.rest

Interface Summary
Interceptor Pre-handling and post-handling of REST requests allowing the request to continue or not.
LifeCycle Web component that is notified of the initialization and destruction of the WebContext.
ValidatingConsumer Consumes request content based on their Content-Type - and at the same time validates the content.
ValidatingConsumer.FieldValidator  
ViewDispatcher Dispatches a request to generate a view from a Model
 

Class Summary
AbstractInterceptor Base interceptor to pre-handle and post-handle requests.
AbstractLifeCycle Base lifecycle that handles the initialized and destroyed state.
ApplicationServletContextListener Loads a json config file and uses that for Inversion of Control.
ConsumerInterceptor An interceptor that checks sets the mapped Consumer in the RequestContext for use with the REST handlers.
DefaultDispatcher Dispatches to the container's default servlet
InterceptorCollection Wraps an array of interceptors and does the handle chain.
JSONDispatcher Generates a JSON response from the object on the request attribute identified by JSONDispatcher.JSON_DATA.
JSONDispatcher.SimpleResponse  
JSPDispatcher Efficiently dispatches to the jsp servlet.
RequestContext Wraps the request and response plus the bits and pieces needed in handling a REST requset.
RequestContext.Local  
RESTServlet The REST servlet to handle all the requests dispatched to the webapp.
SpringServletContextListener  
WebContext The REST web application context.
WrapperInterceptor Wraps an interceptor for pre-handling and post-handling.
 

Exception Summary
ValidationException An exception that is thrown when validation of request content fails.
 



Copyright © 2008-2013. All Rights Reserved.