com.day.cq.opensocial.protocol
Class JsonRpcServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.shindig.common.servlet.InjectedServlet
              extended by org.apache.shindig.protocol.ApiServlet
                  extended by org.apache.shindig.protocol.JsonRpcServlet
                      extended by com.day.cq.opensocial.protocol.JsonRpcServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

@Service(serviceFactory=true,
         value=javax.servlet.Servlet.class)
@Properties(value={@Property(name="service.description",value="Apache Shindig Json Rpc Servlet"),@Property(name="handlers",value="org.apache.shindig.handlers"),@Property(name="sling.servlet.paths",value={"/libs/opensocial/rpc","/libs/opensocial/api/rpc","/libs/opensocial/social/rpc"})})
public class JsonRpcServlet
extends org.apache.shindig.protocol.JsonRpcServlet

JsonRpcServlet is a sling/osgi-scr wrapper for the JsonRpcServlet from Shindig.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.shindig.protocol.JsonRpcServlet
ALLOWED_CONTENT_TYPES, REQUEST_PARAM
 
Fields inherited from class org.apache.shindig.protocol.ApiServlet
ATOM_FORMAT, atomConverter, containerConfig, DEFAULT_ENCODING, DEFAULT_HANDLER_KEY, dispatcher, FORMAT_PARAM, HANDLERS_PARAM, JSON_FORMAT, jsonConverter, XML_FORMAT, xmlConverter
 
Fields inherited from class org.apache.shindig.common.servlet.InjectedServlet
initialized, injector
 
Constructor Summary
JsonRpcServlet()
           
 
Method Summary
 void init(ServletConfig config)
           
 
Methods inherited from class org.apache.shindig.protocol.JsonRpcServlet
addResult, dispatch, dispatchBatch, getHandler, getPostContent, sendError, service
 
Methods inherited from class org.apache.shindig.protocol.ApiServlet
getResponseItem, getSecurityToken, responseItemFromException, sendSecurityError, setBeanConverters, setCharacterEncodings, setContainerConfig, setHandlerRegistry
 
Methods inherited from class org.apache.shindig.common.servlet.InjectedServlet
checkInitialized
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonRpcServlet

public JsonRpcServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Specified by:
init in interface Servlet
Overrides:
init in class org.apache.shindig.protocol.ApiServlet
Throws:
ServletException


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.