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

@IbisInitializer public class HttpListenerServlet extends AbstractHttpServlet
Servlet that listens for HTTP GET or POSTS, and handles them over to the ServiceDispatcher.
Author:
Gerrit van Brakel
See Also:
  • Field Details

  • Constructor Details

    • HttpListenerServlet

      public HttpListenerServlet()
  • Method Details

    • init

      public void init() throws jakarta.servlet.ServletException
      Overrides:
      init in class jakarta.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 class jakarta.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 class jakarta.servlet.http.HttpServlet
      Throws:
      IOException
      jakarta.servlet.ServletException
    • getAccessGrantingRoles

      public String[] getAccessGrantingRoles()
      Specified by:
      getAccessGrantingRoles in interface DynamicRegistration.Servlet
      Overrides:
      getAccessGrantingRoles in class AbstractHttpServlet
    • getUrlMapping

      public String getUrlMapping()
    • isEnabled

      public boolean isEnabled()