Class NuxeoCmisBrowserBindingServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.apache.chemistry.opencmis.server.shared.AbstractCmisHttpServlet
org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet
org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisBrowserBindingServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
public class NuxeoCmisBrowserBindingServlet
extends org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet
Subclass NuxeoCmisBrowserBindingServlet to inject a virtual-hosted base URL if needed.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet
org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet.CallUrl
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class org.apache.chemistry.opencmis.server.shared.AbstractCmisHttpServlet
PARAM_CALL_CONTEXT_HANDLER, PARAM_CMIS_VERSION
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NuxeoCmisErrorHelper.ErrorInfo
Extracts the error from the exception.void
printError
(org.apache.chemistry.opencmis.commons.server.CallContext context, Exception ex, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected void
service
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Methods inherited from class org.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet
addRepositoryResource, addRootResource, getErrorCode, init
Methods inherited from class org.apache.chemistry.opencmis.server.shared.AbstractCmisHttpServlet
checkCsrfToken, createContext, createLogMessage, getCallContextHandler, getCmisVersion, getServiceFactory, loadCallContextHandler, setBinding, setCmisVersion
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
CALL
-
-
Constructor Details
-
NuxeoCmisBrowserBindingServlet
public NuxeoCmisBrowserBindingServlet()
-
-
Method Details
-
service
protected void service(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException - Overrides:
service
in classorg.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet
- Throws:
jakarta.servlet.ServletException
IOException
-
extractError
Extracts the error from the exception.- Parameters:
ex
- the exception- Returns:
- the error info
- Since:
- 7.1
-
printError
public void printError(org.apache.chemistry.opencmis.commons.server.CallContext context, Exception ex, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) - Overrides:
printError
in classorg.apache.chemistry.opencmis.server.impl.browser.CmisBrowserBindingServlet
-