Class WebServicesServletBase
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.frankframework.http.AbstractHttpServlet
org.frankframework.extensions.cmis.servlets.WebServicesServletBase
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
,DynamicRegistration
,DynamicRegistration.Servlet
,DynamicRegistration.ServletWithParameters
- Direct Known Subclasses:
WebServices10
,WebServices11
public abstract class WebServicesServletBase
extends AbstractHttpServlet
implements DynamicRegistration.ServletWithParameters
It is important that we register the correct 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 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 TypeMethodDescriptionvoid
destroy()
String[]
The default authorization roles giving access to theServlet
, ornull
to disable.protected abstract String
Servlet
specific init parametersvoid
init
(jakarta.servlet.ServletConfig config) boolean
Disabled by default, set servlet.WebServices10.enabled=true or servlet.WebServices11.enabled=true to enable this endpoint.void
service
(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res) Methods inherited from class org.frankframework.http.AbstractHttpServlet
getName
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
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
getServletConfig, getServletInfo
-
Constructor Details
-
WebServicesServletBase
public WebServicesServletBase()
-
-
Method Details
-
getCmisVersion
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
init
in interfacejakarta.servlet.Servlet
- Overrides:
init
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
-
service
public void service(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res) throws jakarta.servlet.ServletException, IOException - Specified by:
service
in interfacejakarta.servlet.Servlet
- Overrides:
service
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
IOException
-
getParameters
Description copied from interface:DynamicRegistration.ServletWithParameters
Servlet
specific init parameters- Specified by:
getParameters
in interfaceDynamicRegistration.ServletWithParameters
-
destroy
public void destroy()- Specified by:
destroy
in interfacejakarta.servlet.Servlet
- Overrides:
destroy
in classjakarta.servlet.GenericServlet
-
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
- Overrides:
getAccessGrantingRoles
in classAbstractHttpServlet
-
isEnabled
public boolean isEnabled()Disabled by default, set servlet.WebServices10.enabled=true or servlet.WebServices11.enabled=true to enable this endpoint.- Specified by:
isEnabled
in interfaceDynamicRegistration.Servlet
-