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, getThresholdOutputStreamFactory, setBinding, setCmisVersion
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class AbstractCmisHttpServlet
javax.servlet.ServletException
protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
protected 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-2014 The Apache Software Foundation. All Rights Reserved.