public class CmisAtomPubServlet extends AbstractCmisHttpServlet
PARAM_CALL_CONTEXT_HANDLER, PARAM_CMIS_VERSION| Constructor and Description |
|---|
CmisAtomPubServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addResource(String resource,
String httpMethod,
ServiceCall serviceCall)
Registers a new resource.
|
protected int |
getErrorCode(CmisBaseException ex)
Translates an exception in an appropriate HTTP error code.
|
void |
init(javax.servlet.ServletConfig config) |
protected void |
printError(Exception ex,
javax.servlet.http.HttpServletResponse response)
Prints the error HTML page.
|
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
createContext, getCallContextHandler, getCmisVersion, getServiceFactory, setBinding, setCmisVersiondoDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class AbstractCmisHttpServletjavax.servlet.ServletExceptionprotected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
service in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void addResource(String resource, String httpMethod, ServiceCall serviceCall)
protected int getErrorCode(CmisBaseException ex)
protected void printError(Exception ex, javax.servlet.http.HttpServletResponse response)
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.