Class NuxeoCmisAtomPubServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.chemistry.opencmis.server.shared.AbstractCmisHttpServlet
-
- org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet
-
- org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisAtomPubServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class NuxeoCmisAtomPubServlet extends org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet
Subclass CmisAtomPubServlet to inject a virtual-hosted base URL if needed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NuxeoCmisAtomPubServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NuxeoCmisErrorHelper.ErrorInfo
extractError(Exception ex)
Extracts the error from the exception.protected void
printError(Exception ex, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected void
service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Methods inherited from class org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet
addResource, getErrorCode, init, writeHtmlErrorPage
-
Methods inherited from class org.apache.chemistry.opencmis.server.shared.AbstractCmisHttpServlet
checkCsrfToken, createContext, createLogMessage, getCallContextHandler, getCmisVersion, getServiceFactory, loadCallContextHandler, setBinding, setCmisVersion
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Method Detail
-
service
protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException
- Overrides:
service
in classorg.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet
- Throws:
javax.servlet.ServletException
IOException
-
extractError
protected NuxeoCmisErrorHelper.ErrorInfo extractError(Exception ex)
Extracts the error from the exception.- Parameters:
ex
- the exception- Returns:
- the error info
- Since:
- 7.1
-
printError
protected void printError(Exception ex, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
- Overrides:
printError
in classorg.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet
-
-