Uses of Class
org.springframework.boot.web.servlet.ServletRegistrationBean
Packages that use ServletRegistrationBean
Package
Description
Classes and utilities designed to work with the
jakarta.servlet
specification.Auto-configuration for Spring MVC.
-
Uses of ServletRegistrationBean in org.springframework.boot.web.servlet
Methods in org.springframework.boot.web.servlet that return types with arguments of type ServletRegistrationBeanModifier and TypeMethodDescriptionAbstractFilterRegistrationBean.getServletRegistrationBeans()
Return a mutable collection of theServletRegistrationBean
that the filter will be registered against.Methods in org.springframework.boot.web.servlet with parameters of type ServletRegistrationBeanModifier and TypeMethodDescriptionvoid
AbstractFilterRegistrationBean.addServletRegistrationBeans
(ServletRegistrationBean<?>... servletRegistrationBeans) AddServletRegistrationBean
s for the filter.Method parameters in org.springframework.boot.web.servlet with type arguments of type ServletRegistrationBeanModifier and TypeMethodDescriptionvoid
AbstractFilterRegistrationBean.setServletRegistrationBeans
(Collection<? extends ServletRegistrationBean<?>> servletRegistrationBeans) SetServletRegistrationBean
s that the filter will be registered against.Constructors in org.springframework.boot.web.servlet with parameters of type ServletRegistrationBeanModifierConstructorDescriptionDelegatingFilterProxyRegistrationBean
(String targetBeanName, ServletRegistrationBean<?>... servletRegistrationBeans) Create a newDelegatingFilterProxyRegistrationBean
instance to be registered with the specifiedServletRegistrationBean
s.FilterRegistrationBean
(T filter, ServletRegistrationBean<?>... servletRegistrationBeans) Create a newFilterRegistrationBean
instance to be registered with the specifiedServletRegistrationBean
s. -
Uses of ServletRegistrationBean in org.springframework.boot.webmvc.autoconfigure
Subclasses of ServletRegistrationBean in org.springframework.boot.webmvc.autoconfigureModifier and TypeClassDescriptionclass
ServletRegistrationBean
for the auto-configuredDispatcherServlet
.