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
Subclass of a 
RestServlet that hooks into Spring Boot for using Spring Beans.
 Notes:
- 
      Users will typically extend from BasicSpringRestServletorBasicSpringRestServletGroupinstead of this class directly.
See Also:
- 
Field SummaryFields inherited from class jakarta.servlet.http.HttpServletLEGACY_DO_HEAD
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateBeanStore(Optional<BeanStore> parent) Hook into Spring bean injection framework.Methods inherited from class org.apache.juneau.rest.servlet.RestServletdestroy, doLog, getContext, getPath, getRequest, getResponse, init, log, log, service, setContextMethods inherited from class jakarta.servlet.http.HttpServletdoDelete, doGet, doHead, doOptions, doPatch, doPost, doPut, doTrace, getLastModified, isSensitiveHeader, serviceMethods inherited from class jakarta.servlet.GenericServletgetInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Constructor Details- 
SpringRestServletpublic SpringRestServlet()
 
- 
- 
Method Details- 
createBeanStoreHook into Spring bean injection framework.- Parameters:
- parent- Optional parent resource.
- Returns:
- A BeanStore that retrieves beans from the Spring Boot app context.
 
 
-