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.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Prints the error HTML page.
|
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
writeHtmlErrorPage(PrintWriter pw,
int statusCode,
String exceptionName,
String message,
Throwable t) |
checkCsrfToken, createContext, createLogMessage, getCallContextHandler, getCmisVersion, getServiceFactory, loadCallContextHandler, 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.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void writeHtmlErrorPage(PrintWriter pw, int statusCode, String exceptionName, String message, Throwable t) throws IOException
IOExceptionCopyright © 2009–2016 The Apache Software Foundation. All rights reserved.