Package org.frankframework.http
Class RestListenerServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.frankframework.http.AbstractHttpServlet
org.frankframework.http.RestListenerServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable,DynamicRegistration,DynamicRegistration.Servlet
- Direct Known Subclasses:
RestPublicListenerServlet
Servlet that listens for REST requests, and handles them over to the RestServiceDispatcher.
- Author:
- Gerrit van Brakel
- 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 TypeMethodDescriptionString[]The default authorization roles giving access to theServlet, ornullto disable.The URL theServletshould be mapped to.voidinit()protected voidservice(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) 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, init, isSensitiveHeader, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, 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
loadOnStartUpMethods inherited from interface org.frankframework.lifecycle.DynamicRegistration.Servlet
isEnabledMethods inherited from interface jakarta.servlet.Servlet
destroy, getServletConfig, getServletInfo, init, service
-
Constructor Details
-
RestListenerServlet
public RestListenerServlet()
-
-
Method Details
-
init
public void init() throws jakarta.servlet.ServletException- Overrides:
initin classjakarta.servlet.GenericServlet- Throws:
jakarta.servlet.ServletException
-
service
protected void service(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws jakarta.servlet.ServletException, IOException - Overrides:
servicein classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
getUrlMapping
Description copied from interface:DynamicRegistration.ServletThe URL theServletshould be mapped to. This value may be overridden by setting propertyservlet.servlet-name.urlMappingto change path the servlet listens to -
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
-