Class WebContentServlet

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

@IbisInitializer public class WebContentServlet extends HttpServletBase
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 javax.servlet.ServletException
      Overrides:
      init in class javax.servlet.GenericServlet
      Throws:
      javax.servlet.ServletException
    • doGet

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

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

      public String getUrlMapping()
    • getAccessGrantingRoles

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