Class WebsService

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.alfresco.officeservices.AbstractSoapService
org.alfresco.officeservices.AbstractWebsService
org.alfresco.officeservices.StandardWebsService
org.alfresco.module.aosmodule.dispatch.WebsService
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

public class WebsService extends org.alfresco.officeservices.StandardWebsService
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected List<String>
     
    protected org.alfresco.officeservices.UserData
     

    Fields inherited from class org.alfresco.officeservices.AbstractWebsService

    METHODNAME_GETCONTENTTYPE, METHODNAME_GETCONTENTTYPES, METHODNAME_GETWEB, METHODNAME_GETWEBCOLLECTION, METHODNAME_UPDATECONTENTTYPEXMLDOCUMENT, METHODNAME_WEBURLFROMPAGEURL, METHODPARAMETER_CONTENTTYPEID, METHODPARAMETER_NEWDOCUMENT, METHODPARAMETER_PAGEURL, METHODPARAMETER_WEBURL, RESPONSE_CONTENT_TYPE

    Fields inherited from class org.alfresco.officeservices.AbstractSoapService

    threadLocalDateFormatSoap

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.alfresco.officeservices.WebsGetContentTypeContentType
    getContentType(org.alfresco.officeservices.UserData userData, String contentTypeId, jakarta.servlet.http.HttpServletRequest request)
     
    org.alfresco.officeservices.WebsGetContentTypesContentType[]
    getContentTypes(org.alfresco.officeservices.protocol.SimpleSoapParser parser, jakarta.servlet.http.HttpServletRequest request)
     
    protected String
    getServerUrl(jakarta.servlet.http.HttpServletRequest request)
     
    getServicePrefixes(org.alfresco.officeservices.protocol.SimpleSoapParser parser, jakarta.servlet.http.HttpServletRequest request)
     
    List<org.alfresco.officeservices.GetWebCollectionWebDescription>
    getWebCollection(org.alfresco.officeservices.protocol.SimpleSoapParser parser, jakarta.servlet.http.HttpServletRequest request)
     
    protected org.alfresco.officeservices.GetWebWebDescription
    getWebResult(org.alfresco.officeservices.UserData userData, String webUrl, org.alfresco.officeservices.protocol.SimpleSoapParser parser, jakarta.servlet.http.HttpServletRequest request)
     
    void
    init(jakarta.servlet.ServletConfig servletConfig_p)
     
    void
    invalidateAuthentication(org.alfresco.officeservices.UserData userData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     
    org.alfresco.officeservices.UserData
    negotiateAuthentication(jakarta.servlet.http.HttpServletRequest arg0, jakarta.servlet.http.HttpServletResponse arg1)
     
    void
    requestAuthentication(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
     
    protected boolean
    updateContentTypeXmlDocument(org.alfresco.officeservices.UserData userData, String contentTypeId, org.alfresco.officeservices.protocol.SoapParameter newDocument, jakarta.servlet.http.HttpServletRequest request)
     

    Methods inherited from class org.alfresco.officeservices.StandardWebsService

    getWebUrlFromPageUrlResult

    Methods inherited from class org.alfresco.officeservices.AbstractWebsService

    handleGetContentType, handleGetContentTypes, handleGetWeb, handleGetWebCollection, handleUpdateContentTypeXmlDocument, handleWebUrlFromPageUrl, soapService

    Methods inherited from class org.alfresco.officeservices.AbstractSoapService

    doPost, formatDate, getThreadDateFormatSoap, parseDate, writeEncoded, writeEncoded2, writeXmlAttribute

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • servicePrefixes

      protected List<String> servicePrefixes
    • userData

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

    • WebsService

      public WebsService()
  • Method Details

    • init

      public void init(jakarta.servlet.ServletConfig servletConfig_p) throws jakarta.servlet.ServletException
      Specified by:
      init in interface jakarta.servlet.Servlet
      Overrides:
      init in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
    • getServicePrefixes

      public List<String> getServicePrefixes(org.alfresco.officeservices.protocol.SimpleSoapParser parser, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      getServicePrefixes in class org.alfresco.officeservices.StandardWebsService
    • getServerUrl

      protected String getServerUrl(jakarta.servlet.http.HttpServletRequest request)
    • getWebCollection

      public List<org.alfresco.officeservices.GetWebCollectionWebDescription> getWebCollection(org.alfresco.officeservices.protocol.SimpleSoapParser parser, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      getWebCollection in class org.alfresco.officeservices.AbstractWebsService
    • getWebResult

      protected org.alfresco.officeservices.GetWebWebDescription getWebResult(org.alfresco.officeservices.UserData userData, String webUrl, org.alfresco.officeservices.protocol.SimpleSoapParser parser, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      getWebResult in class org.alfresco.officeservices.AbstractWebsService
    • getContentTypes

      public org.alfresco.officeservices.WebsGetContentTypesContentType[] getContentTypes(org.alfresco.officeservices.protocol.SimpleSoapParser parser, jakarta.servlet.http.HttpServletRequest request)
      Specified by:
      getContentTypes in class org.alfresco.officeservices.AbstractWebsService
    • getContentType

      protected org.alfresco.officeservices.WebsGetContentTypeContentType getContentType(org.alfresco.officeservices.UserData userData, String contentTypeId, jakarta.servlet.http.HttpServletRequest request) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
      Specified by:
      getContentType in class org.alfresco.officeservices.AbstractWebsService
      Throws:
      org.alfresco.officeservices.exceptions.AuthenticationRequiredException
    • negotiateAuthentication

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

      public void invalidateAuthentication(org.alfresco.officeservices.UserData userData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
      Specified by:
      invalidateAuthentication in class org.alfresco.officeservices.AbstractSoapService
      Throws:
      IOException
    • requestAuthentication

      public void requestAuthentication(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException
      Specified by:
      requestAuthentication in class org.alfresco.officeservices.AbstractSoapService
      Throws:
      IOException
    • updateContentTypeXmlDocument

      protected boolean updateContentTypeXmlDocument(org.alfresco.officeservices.UserData userData, String contentTypeId, org.alfresco.officeservices.protocol.SoapParameter newDocument, jakarta.servlet.http.HttpServletRequest request) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException
      Specified by:
      updateContentTypeXmlDocument in class org.alfresco.officeservices.AbstractWebsService
      Throws:
      org.alfresco.officeservices.exceptions.AuthenticationRequiredException