Class SpringRestServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.apache.juneau.rest.servlet.RestServlet
org.apache.juneau.rest.springboot.SpringRestServlet
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable
Direct Known Subclasses:
BasicSpringRestServlet

public abstract class SpringRestServlet extends RestServlet
Subclass of a RestServlet that hooks into Spring Boot for using Spring Beans.
Notes:
See Also:
  • Constructor Details

  • Method Details

    • createBeanStore

      Hook into Spring bean injection framework.
      Parameters:
      parent - Optional parent resource.
      Returns:
      A BeanStore that retrieves beans from the Spring Boot app context.