Package org.frankframework.http
Class HttpListenerServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.frankframework.http.AbstractHttpServlet
org.frankframework.http.HttpListenerServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet
,jakarta.servlet.ServletConfig
,Serializable
,DynamicRegistration
,DynamicRegistration.Servlet
Servlet that listens for HTTP GET or POSTS, and handles them over to the ServiceDispatcher.
- 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_HEAD
Fields inherited from interface org.frankframework.lifecycle.DynamicRegistration
ALL_IBIS_ROLES, ALL_IBIS_USER_ROLES, IBIS_FULL_SERVICE_ACCESS_ROLES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doGet
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) void
doPost
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) String[]
void
init()
void
invoke
(Message message, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) boolean
Methods inherited from class org.frankframework.http.AbstractHttpServlet
getName
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPatch, doPut, doTrace, getLastModified, init, isSensitiveHeader, service, service
Methods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, 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
loadOnStartUp
Methods inherited from interface jakarta.servlet.Servlet
destroy, getServletConfig, getServletInfo, init, service
-
Field Details
-
SERVICE_ID_PARAM
- See Also:
-
MESSAGE_PARAM
- See Also:
-
-
Constructor Details
-
HttpListenerServlet
public HttpListenerServlet()
-
-
Method Details
-
init
public void init() throws jakarta.servlet.ServletException- Overrides:
init
in classjakarta.servlet.GenericServlet
- Throws:
jakarta.servlet.ServletException
-
invoke
public void invoke(Message message, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException - Throws:
IOException
-
doGet
public void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException - Overrides:
doGet
in classjakarta.servlet.http.HttpServlet
- Throws:
IOException
jakarta.servlet.ServletException
-
doPost
public void doPost(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IOException, jakarta.servlet.ServletException - Overrides:
doPost
in classjakarta.servlet.http.HttpServlet
- Throws:
IOException
jakarta.servlet.ServletException
-
getAccessGrantingRoles
- Specified by:
getAccessGrantingRoles
in interfaceDynamicRegistration.Servlet
- Overrides:
getAccessGrantingRoles
in classAbstractHttpServlet
-
getUrlMapping
-
isEnabled
public boolean isEnabled()
-