Class ServiceDispatcher

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class ServiceDispatcher
    extends org.alfresco.officeservices.StandardDispatcherService
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected List<String> servicePrefixes  
      protected org.alfresco.officeservices.UserData userData  
      • Fields inherited from class org.alfresco.officeservices.AbstractDispatcherService

        METHODNAME_SERVER_VERSION, METHODNAME_URL_TO_WEB_URL
      • Fields inherited from class org.alfresco.officeservices.AbstractVermeerService

        HEADER_NAME_VERMEER_CONTENT_TYPE, HEADER_VALUE_VERMEER_CONTENT_TYPE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doGet​(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)  
      List<String> getServicePrefixes​(org.alfresco.officeservices.protocol.VermeerRequest vermeerRequest)  
      void init​(javax.servlet.ServletConfig servletConfig_p)  
      void invalidateAuthentication​(org.alfresco.officeservices.UserData arg0, javax.servlet.http.HttpServletRequest arg1, javax.servlet.http.HttpServletResponse arg2)  
      org.alfresco.officeservices.UserData negotiateAuthentication​(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)  
      void requestAuthentication​(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)  
      void serverVersion​(org.alfresco.officeservices.protocol.VermeerRequest vermeerRequest, org.alfresco.officeservices.protocol.VermeerResponse vermeerResponse)  
      • Methods inherited from class org.alfresco.officeservices.StandardDispatcherService

        urlToWebUrl
      • Methods inherited from class org.alfresco.officeservices.AbstractDispatcherService

        vermeerServerVersion, vermeerService, vermeerUrlToWebUrl
      • Methods inherited from class org.alfresco.officeservices.AbstractVermeerService

        doPost, getSitePrefix, handleUnexpectedException, setServerProtocolVersion
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
    • Field Detail

      • servicePrefixes

        protected List<String> servicePrefixes
      • userData

        protected org.alfresco.officeservices.UserData userData
    • Constructor Detail

      • ServiceDispatcher

        public ServiceDispatcher()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig servletConfig_p)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException
      • getServicePrefixes

        public List<String> getServicePrefixes​(org.alfresco.officeservices.protocol.VermeerRequest vermeerRequest)
        Specified by:
        getServicePrefixes in class org.alfresco.officeservices.StandardDispatcherService
      • serverVersion

        public void serverVersion​(org.alfresco.officeservices.protocol.VermeerRequest vermeerRequest,
                                  org.alfresco.officeservices.protocol.VermeerResponse vermeerResponse)
                           throws IOException,
                                  org.alfresco.officeservices.exceptions.VermeerException,
                                  org.alfresco.officeservices.exceptions.AuthenticationRequiredException
        Overrides:
        serverVersion in class org.alfresco.officeservices.StandardDispatcherService
        Throws:
        IOException
        org.alfresco.officeservices.exceptions.VermeerException
        org.alfresco.officeservices.exceptions.AuthenticationRequiredException
      • doGet

        protected void doGet​(javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse resp)
                      throws javax.servlet.ServletException,
                             IOException
        Overrides:
        doGet in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • negotiateAuthentication

        public org.alfresco.officeservices.UserData negotiateAuthentication​(javax.servlet.http.HttpServletRequest arg0,
                                                                            javax.servlet.http.HttpServletResponse arg1)
                                                                     throws IOException
        Specified by:
        negotiateAuthentication in class org.alfresco.officeservices.AbstractVermeerService
        Throws:
        IOException
      • invalidateAuthentication

        public void invalidateAuthentication​(org.alfresco.officeservices.UserData arg0,
                                             javax.servlet.http.HttpServletRequest arg1,
                                             javax.servlet.http.HttpServletResponse arg2)
                                      throws IOException
        Specified by:
        invalidateAuthentication in class org.alfresco.officeservices.AbstractVermeerService
        Throws:
        IOException
      • requestAuthentication

        public void requestAuthentication​(javax.servlet.http.HttpServletRequest arg0,
                                          javax.servlet.http.HttpServletResponse arg1)
                                   throws IOException
        Specified by:
        requestAuthentication in class org.alfresco.officeservices.AbstractVermeerService
        Throws:
        IOException