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_HEADFields 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 TypeMethodDescriptionvoiddestroy()String[]The default authorization roles giving access to theServlet, ornullto disable.protected abstract StringServletspecific init parametersvoidinit(jakarta.servlet.ServletConfig config) booleanDisabled by default, set servlet.WebServices10.enabled=true or servlet.WebServices11.enabled=true to enable this endpoint.voidservice(jakarta.servlet.ServletRequest req, jakarta.servlet.ServletResponse res) Methods inherited from class org.frankframework.http.AbstractHttpServlet
getNameMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, isSensitiveHeader, serviceMethods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.frankframework.lifecycle.DynamicRegistration
getName, loadOnStartUpMethods inherited from interface org.frankframework.lifecycle.DynamicRegistration.Servlet
getUrlMappingMethods 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:
initin interfacejakarta.servlet.Servlet- Overrides:
initin 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:
servicein interfacejakarta.servlet.Servlet- Overrides:
servicein classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
getParameters
Description copied from interface:DynamicRegistration.ServletWithParametersServletspecific init parameters- Specified by:
getParametersin interfaceDynamicRegistration.ServletWithParameters
-
destroy
public void destroy()- Specified by:
destroyin interfacejakarta.servlet.Servlet- Overrides:
destroyin classjakarta.servlet.GenericServlet
-
getAccessGrantingRoles
Description copied from interface:DynamicRegistration.ServletThe default authorization roles giving access to theServlet, ornullto disable. This value may be overridden by setting propertyservlet.servlet-name.securityRolesto the roles that should be granted access. see ServletManager for more information.- Specified by:
getAccessGrantingRolesin interfaceDynamicRegistration.Servlet- Overrides:
getAccessGrantingRolesin classAbstractHttpServlet
-
isEnabled
public boolean isEnabled()Disabled by default, set servlet.WebServices10.enabled=true or servlet.WebServices11.enabled=true to enable this endpoint.- Specified by:
isEnabledin interfaceDynamicRegistration.Servlet
-