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 theServletRegistrationBeanthat the filter will be registered against.Methods in org.springframework.boot.web.servlet with parameters of type ServletRegistrationBeanModifier and TypeMethodDescriptionvoidAbstractFilterRegistrationBean.addServletRegistrationBeans(ServletRegistrationBean<?>... servletRegistrationBeans) AddServletRegistrationBeans for the filter.Method parameters in org.springframework.boot.web.servlet with type arguments of type ServletRegistrationBeanModifier and TypeMethodDescriptionvoidAbstractFilterRegistrationBean.setServletRegistrationBeans(Collection<? extends ServletRegistrationBean<?>> servletRegistrationBeans) SetServletRegistrationBeans 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 newDelegatingFilterProxyRegistrationBeaninstance to be registered with the specifiedServletRegistrationBeans.FilterRegistrationBean(T filter, ServletRegistrationBean<?>... servletRegistrationBeans) Create a newFilterRegistrationBeaninstance to be registered with the specifiedServletRegistrationBeans. -
Uses of ServletRegistrationBean in org.springframework.boot.webmvc.autoconfigure
Subclasses of ServletRegistrationBean in org.springframework.boot.webmvc.autoconfigureModifier and TypeClassDescriptionclassServletRegistrationBeanfor the auto-configuredDispatcherServlet.