Class WebsService
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.alfresco.officeservices.AbstractSoapService
-
- org.alfresco.officeservices.AbstractWebsService
-
- org.alfresco.officeservices.StandardWebsService
-
- org.alfresco.module.aosmodule.dispatch.WebsService
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class WebsService extends org.alfresco.officeservices.StandardWebsService- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classWebsService.WebsServiceUserData
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>servicePrefixesprotected org.alfresco.officeservices.UserDatauserData-
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
-
-
Constructor Summary
Constructors Constructor Description WebsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.alfresco.officeservices.WebsGetContentTypeContentTypegetContentType(org.alfresco.officeservices.UserData userData, java.lang.String contentTypeId, javax.servlet.http.HttpServletRequest request)org.alfresco.officeservices.WebsGetContentTypesContentType[]getContentTypes(org.alfresco.officeservices.protocol.SimpleSoapParser parser, javax.servlet.http.HttpServletRequest request)protected java.lang.StringgetServerUrl(javax.servlet.http.HttpServletRequest request)java.util.List<java.lang.String>getServicePrefixes(org.alfresco.officeservices.protocol.SimpleSoapParser parser, javax.servlet.http.HttpServletRequest request)java.util.List<org.alfresco.officeservices.GetWebCollectionWebDescription>getWebCollection(org.alfresco.officeservices.protocol.SimpleSoapParser parser, javax.servlet.http.HttpServletRequest request)protected org.alfresco.officeservices.GetWebWebDescriptiongetWebResult(org.alfresco.officeservices.UserData userData, java.lang.String webUrl, org.alfresco.officeservices.protocol.SimpleSoapParser parser, javax.servlet.http.HttpServletRequest request)voidinit(javax.servlet.ServletConfig servletConfig_p)voidinvalidateAuthentication(org.alfresco.officeservices.UserData userData, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)org.alfresco.officeservices.UserDatanegotiateAuthentication(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1)voidrequestAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)protected booleanupdateContentTypeXmlDocument(org.alfresco.officeservices.UserData userData, java.lang.String contentTypeId, org.alfresco.officeservices.protocol.SoapParameter newDocument, javax.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 javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
init
public void init(javax.servlet.ServletConfig servletConfig_p) throws javax.servlet.ServletException- Specified by:
initin interfacejavax.servlet.Servlet- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException
-
getServicePrefixes
public java.util.List<java.lang.String> getServicePrefixes(org.alfresco.officeservices.protocol.SimpleSoapParser parser, javax.servlet.http.HttpServletRequest request)- Specified by:
getServicePrefixesin classorg.alfresco.officeservices.StandardWebsService
-
getServerUrl
protected java.lang.String getServerUrl(javax.servlet.http.HttpServletRequest request)
-
getWebCollection
public java.util.List<org.alfresco.officeservices.GetWebCollectionWebDescription> getWebCollection(org.alfresco.officeservices.protocol.SimpleSoapParser parser, javax.servlet.http.HttpServletRequest request)- Specified by:
getWebCollectionin classorg.alfresco.officeservices.AbstractWebsService
-
getWebResult
protected org.alfresco.officeservices.GetWebWebDescription getWebResult(org.alfresco.officeservices.UserData userData, java.lang.String webUrl, org.alfresco.officeservices.protocol.SimpleSoapParser parser, javax.servlet.http.HttpServletRequest request)- Specified by:
getWebResultin classorg.alfresco.officeservices.AbstractWebsService
-
getContentTypes
public org.alfresco.officeservices.WebsGetContentTypesContentType[] getContentTypes(org.alfresco.officeservices.protocol.SimpleSoapParser parser, javax.servlet.http.HttpServletRequest request)- Specified by:
getContentTypesin classorg.alfresco.officeservices.AbstractWebsService
-
getContentType
protected org.alfresco.officeservices.WebsGetContentTypeContentType getContentType(org.alfresco.officeservices.UserData userData, java.lang.String contentTypeId, javax.servlet.http.HttpServletRequest request) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException- Specified by:
getContentTypein classorg.alfresco.officeservices.AbstractWebsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
negotiateAuthentication
public org.alfresco.officeservices.UserData negotiateAuthentication(javax.servlet.http.HttpServletRequest arg0, javax.servlet.http.HttpServletResponse arg1) throws java.io.IOException- Specified by:
negotiateAuthenticationin classorg.alfresco.officeservices.AbstractSoapService- Throws:
java.io.IOException
-
invalidateAuthentication
public void invalidateAuthentication(org.alfresco.officeservices.UserData userData, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException- Specified by:
invalidateAuthenticationin classorg.alfresco.officeservices.AbstractSoapService- Throws:
java.io.IOException
-
requestAuthentication
public void requestAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException- Specified by:
requestAuthenticationin classorg.alfresco.officeservices.AbstractSoapService- Throws:
java.io.IOException
-
updateContentTypeXmlDocument
protected boolean updateContentTypeXmlDocument(org.alfresco.officeservices.UserData userData, java.lang.String contentTypeId, org.alfresco.officeservices.protocol.SoapParameter newDocument, javax.servlet.http.HttpServletRequest request) throws org.alfresco.officeservices.exceptions.AuthenticationRequiredException- Specified by:
updateContentTypeXmlDocumentin classorg.alfresco.officeservices.AbstractWebsService- Throws:
org.alfresco.officeservices.exceptions.AuthenticationRequiredException
-
-