Class AtomPubServletBase
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.apache.chemistry.opencmis.server.shared.AbstractCmisHttpServlet
org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet
org.frankframework.extensions.cmis.servlets.AtomPubServletBase
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
,DynamicRegistration
,DynamicRegistration.Servlet
,DynamicRegistration.ServletWithParameters
public abstract class AtomPubServletBase
extends org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet
implements DynamicRegistration.ServletWithParameters
It is important that we register the correct (CMIS) CXF bus, or else
JAX-RS (IAF-API / WebServiceListener) won't work properly
- Author:
- Niels Meijer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.frankframework.lifecycle.DynamicRegistration
DynamicRegistration.Servlet, DynamicRegistration.ServletWithParameters
-
Field Summary
Fields 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
Fields inherited from interface org.frankframework.lifecycle.DynamicRegistration
ALL_IBIS_ROLES, ALL_IBIS_USER_ROLES, IBIS_FULL_SERVICE_ACCESS_ROLES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
The default authorization roles giving access to theServlet
, ornull
to disable.protected abstract String
Servlet
specific init parametersboolean
Disabled by default, set servlet.AtomPub10.enabled=true or servlet.AtomPub11.enabled=true to enable this endpoint.Methods inherited from class org.apache.chemistry.opencmis.server.impl.atompub.CmisAtomPubServlet
addResource, getErrorCode, init, printError, service, 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 jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, isSensitiveHeader, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.frankframework.lifecycle.DynamicRegistration
getName, loadOnStartUp
Methods inherited from interface org.frankframework.lifecycle.DynamicRegistration.Servlet
getUrlMapping
Methods inherited from interface jakarta.servlet.Servlet
destroy, getServletConfig, getServletInfo, init, service
-
Constructor Details
-
AtomPubServletBase
public AtomPubServletBase()
-
-
Method Details
-
getCmisVersionStr
-
getParameters
Description copied from interface:DynamicRegistration.ServletWithParameters
Servlet
specific init parameters- Specified by:
getParameters
in interfaceDynamicRegistration.ServletWithParameters
-
getAccessGrantingRoles
Description copied from interface:DynamicRegistration.Servlet
The default authorization roles giving access to theServlet
, ornull
to disable. This value may be overridden by setting propertyservlet.servlet-name.securityRoles
to the roles that should be granted access. see ServletManager for more information.- Specified by:
getAccessGrantingRoles
in interfaceDynamicRegistration.Servlet
-
isEnabled
public boolean isEnabled()Disabled by default, set servlet.AtomPub10.enabled=true or servlet.AtomPub11.enabled=true to enable this endpoint.- Specified by:
isEnabled
in interfaceDynamicRegistration.Servlet
-