Class ConsoleFrontend

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.frankframework.console.ConsoleFrontend
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware

public class ConsoleFrontend extends jakarta.servlet.http.HttpServlet implements org.springframework.context.EnvironmentAware, org.springframework.beans.factory.InitializingBean
Contains the component annotation so it will be picked up by the core (SpringEnvironmentContext.xml). When using Spring boot (and the FrankConsoleContext.xml), where classpath scanning is enabled, it will directly try to configure this servlet without any configuration. Hence, it should use the RegisterServletEndpoints which uses a ServletConfiguration to initialize the Servlet.
Author:
Niels Meijer
See Also:
  • Field Summary

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
    doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)
     

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, init, isSensitiveHeader, service, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, 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.springframework.context.EnvironmentAware

    setEnvironment
  • Constructor Details

    • ConsoleFrontend

      public ConsoleFrontend()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • doGet

      protected void doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)
      Overrides:
      doGet in class jakarta.servlet.http.HttpServlet