|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
| Interface Summary | |
|---|---|
| HandlerExecutionListener | Called by the handler dispatcher prior to executing a handler. |
| HandlerRegistry | Registry of REST and RPC handlers for the set of available services |
| RequestItem | A request to pass to a bound service handler |
| RestHandler | Interface exposed by a REST handler |
| RpcHandler | Interface exposed by an RPC handler |
| Class Summary | |
|---|---|
| ApiServlet | Common base class for API servlets. |
| BaseRequestItem | Default implementation of RequestItem |
| ContentTypes | Common mime content types and utilities |
| DataCollection | Wrapper class used for data responses. |
| DataServiceServlet | Servlet used to process REST requests (/rest/* etc.) |
| DataServiceServletFetcher | Default implementation for the GadgetDataServlet parameter fetcher. |
| DefaultHandlerRegistry | Default implementation of HandlerRegistry. |
| HandlerExecutionListener.LoggingHandler | A simple implementation that logs the start/stop times of requests You can configure this for use by adding a binding in your Guice Module like this: bind(HandlerExecutionListener.class).to(HandlerExecutionListener.LoggingHandler.class); |
| HandlerExecutionListener.NoOpHandler | Default no-op implementation |
| HandlerPreconditions | Utility class for common API call preconditions |
| JsonRpcServlet | JSON-RPC handler servlet. |
| ResponseItem | Represents the response items that get handed back as json within the DataResponse. |
| RestfulCollection<T> | Data structure representing a Rest response. |
| SystemHandler | Implements the 'system' service operations for JSON/XML RPC |
| Exception Summary | |
|---|---|
| ContentTypes.InvalidContentTypeException | |
| ProtocolException | Unchecked exception class for errors thrown by request handlers |
| Annotation Types Summary | |
|---|---|
| Operation | Annotates a method on a ServiceHandler which expose a REST/RPC operation The name of the annotated method is the literal name of the method for JSON-RPC |
| Service | Indicates the base path for REST calls or the RPC service name a RequestHandler can dispatch to. |
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||