| Package | Description |
|---|---|
| org.apache.shindig.protocol | |
| org.apache.shindig.protocol.conversion |
| Modifier and Type | Field and Description |
|---|---|
protected BeanConverter |
ApiServlet.atomConverter |
protected BeanConverter |
ApiServlet.jsonConverter |
protected BeanConverter |
ApiServlet.xmlConverter |
| Modifier and Type | Method and Description |
|---|---|
protected BeanConverter |
DataServiceServlet.getConverterForContentType(String contentType)
Return BeanConverter based on content type.
|
protected BeanConverter |
DataServiceServlet.getConverterForFormat(String format)
Return BeanConverter based on format request parameter.
|
BeanConverter |
DataServiceServlet.getConverterForRequest(String contentType,
String format) |
| Modifier and Type | Method and Description |
|---|---|
Future<?> |
RpcHandler.execute(Map<String,FormDataItem> formItems,
SecurityToken st,
BeanConverter converter)
Handle the request and return a Future from which the response object
can be retrieved.
|
Future<?> |
RestHandler.execute(Map<String,String[]> parameters,
Reader body,
SecurityToken token,
BeanConverter converter)
Handle the request and return a Future from which the response object
can be retrieved
|
void |
ApiServlet.setBeanConverters(BeanConverter jsonConverter,
BeanConverter xmlConverter,
BeanConverter atomConverter) |
| Constructor and Description |
|---|
BaseRequestItem(JSONObject parameters,
Map<String,FormDataItem> formItems,
SecurityToken token,
BeanConverter converter,
BeanJsonConverter jsonConverter) |
BaseRequestItem(Map<String,String[]> parameters,
SecurityToken token,
BeanConverter converter,
BeanJsonConverter jsonConverter) |
| Modifier and Type | Class and Description |
|---|---|
class |
BeanJsonConverter
Converts between JSON and java objects.
|
class |
BeanXStreamConverter
Converts to/from XML format using XStream
|
Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.