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 javax.servlet.http.HttpServlet |
servlet |
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) |
String |
getServiceName() |
protected abstract javax.servlet.http.HttpServlet |
getServlet() |
protected Object |
getServletAttribute(String attrName) |
protected javax.servlet.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 |
setRegistry(CMISDispatcherRegistry registry) |
void |
setServiceName(String serviceName) |
void |
setVersion(String version) |
protected org.apache.chemistry.opencmis.commons.server.CmisServiceFactory cmisServiceFactory
protected javax.servlet.http.HttpServlet servlet
protected CMISDispatcherRegistry registry
protected String serviceName
protected BaseUrlGenerator baseUrlGenerator
protected String version
protected org.apache.chemistry.opencmis.commons.enums.CmisVersion cmisVersion
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 javax.servlet.http.HttpServlet getServlet()
protected javax.servlet.ServletConfig getServletConfig()
protected CMISHttpServletRequest getHttpRequest(org.springframework.extensions.webscripts.WebScriptRequest req)
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req,
org.springframework.extensions.webscripts.WebScriptResponse res)
throws IOException
execute in interface CMISDispatcherIOExceptionCopyright © 2005–2014 Alfresco Software. All rights reserved.