Class WebContentServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.frankframework.http.AbstractHttpServlet
org.frankframework.lifecycle.WebContentServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable, DynamicRegistration, DynamicRegistration.Servlet

@IbisInitializer public class WebContentServlet extends AbstractHttpServlet
This servlet allows the use of WebContent served from Configurations. The configuration must have a folder called webcontent for this to work. The Configuration may consist of adapters and webcontent or standalone webcontent. This works for all ClassLoaders. Just like other servlets this servlet may be configured through the ServletManager.
Author:
Niels Meijer
See Also:
  • Constructor Details

    • WebContentServlet

      public WebContentServlet()
  • Method Details

    • init

      public void init() throws jakarta.servlet.ServletException
      Overrides:
      init in class jakarta.servlet.GenericServlet
      Throws:
      jakarta.servlet.ServletException
    • doGet

      protected void doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp) throws IOException
      Overrides:
      doGet in class jakarta.servlet.http.HttpServlet
      Throws:
      IOException
    • getLastModified

      protected long getLastModified(jakarta.servlet.http.HttpServletRequest req)
      Overrides:
      getLastModified in class jakarta.servlet.http.HttpServlet
    • getUrlMapping

      public String getUrlMapping()
    • getAccessGrantingRoles

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