public abstract class CMISServletDispatcher extends Object implements CMISDispatcher
Modifier and Type | Field and Description |
---|---|
protected BaseUrlGenerator |
baseUrlGenerator |
protected org.apache.chemistry.opencmis.commons.server.CmisServiceFactory |
cmisServiceFactory |
protected org.apache.chemistry.opencmis.commons.enums.CmisVersion |
cmisVersion |
protected CMISDispatcherRegistry |
registry |
protected String |
serviceName |
protected HttpServlet |
servlet |
protected TenantAdminService |
tenantAdminService |
protected String |
version |
Constructor and Description |
---|
CMISServletDispatcher() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res) |
protected abstract CMISDispatcherRegistry.Binding |
getBinding() |
protected Descriptor |
getCurrentDescriptor() |
protected CMISHttpServletRequest |
getHttpRequest(org.springframework.extensions.webscripts.WebScriptRequest req) |
protected CMISHttpServletResponse |
getHttpResponse(org.springframework.extensions.webscripts.WebScriptResponse res) |
String |
getServiceName() |
protected abstract HttpServlet |
getServlet() |
protected Object |
getServletAttribute(String attrName) |
protected ServletConfig |
getServletConfig() |
void |
init() |
void |
setBaseUrlGenerator(BaseUrlGenerator baseUrlGenerator) |
void |
setCmisServiceFactory(org.apache.chemistry.opencmis.commons.server.CmisServiceFactory cmisServiceFactory) |
void |
setCmisVersion(String cmisVersion) |
void |
setDescriptorService(DescriptorService descriptorService) |
void |
setNonAttachContentTypes(Set<String> nonAttachWhiteList) |
void |
setRegistry(CMISDispatcherRegistry registry) |
void |
setServiceName(String serviceName) |
void |
setTenantAdminService(TenantAdminService tenantAdminService) |
void |
setVersion(String version) |
protected org.apache.chemistry.opencmis.commons.server.CmisServiceFactory cmisServiceFactory
protected HttpServlet servlet
protected CMISDispatcherRegistry registry
protected String serviceName
protected BaseUrlGenerator baseUrlGenerator
protected String version
protected org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion
protected TenantAdminService tenantAdminService
public void setTenantAdminService(TenantAdminService tenantAdminService)
public void setDescriptorService(DescriptorService descriptorService)
public void setVersion(String version)
public void setBaseUrlGenerator(BaseUrlGenerator baseUrlGenerator)
public void setRegistry(CMISDispatcherRegistry registry)
public void setCmisServiceFactory(org.apache.chemistry.opencmis.commons.server.CmisServiceFactory cmisServiceFactory)
public void setServiceName(String serviceName)
public String getServiceName()
public void setCmisVersion(String cmisVersion)
protected Descriptor getCurrentDescriptor()
public void init()
protected abstract CMISDispatcherRegistry.Binding getBinding()
protected abstract HttpServlet getServlet()
protected ServletConfig getServletConfig()
protected CMISHttpServletRequest getHttpRequest(org.springframework.extensions.webscripts.WebScriptRequest req)
protected CMISHttpServletResponse getHttpResponse(org.springframework.extensions.webscripts.WebScriptResponse res)
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException
execute
in interface CMISDispatcher
IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.