Class AtomPubServletBase
- 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.frankframework.extensions.cmis.servlets.AtomPubServletBase
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig,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:
- Serialized Form
-
-
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 interface org.frankframework.lifecycle.DynamicRegistration
ALL_IBIS_ROLES, ALL_IBIS_USER_ROLES, IBIS_FULL_SERVICE_ACCESS_ROLES
-
-
Constructor Summary
Constructors Constructor Description AtomPubServletBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String[]getAccessGrantingRoles()protected abstract StringgetCmisVersionStr()Map<String,String>getParameters()booleanisEnabled()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 javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
Methods inherited from class javax.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
-
-
-
-
Method Detail
-
getCmisVersionStr
protected abstract String getCmisVersionStr()
-
getParameters
public Map<String,String> getParameters()
- Specified by:
getParametersin interfaceDynamicRegistration.ServletWithParameters
-
getAccessGrantingRoles
public String[] getAccessGrantingRoles()
- Specified by:
getAccessGrantingRolesin 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:
isEnabledin interfaceDynamicRegistration.Servlet
-
-