Uses of Enum Class
jakarta.servlet.DispatcherType
Package
Description
The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
-
Uses of DispatcherType in jakarta.servlet
Modifier and TypeMethodDescriptionServletRequest.getDispatcherType()
Gets the dispatcher type of this request.ServletRequestWrapper.getDispatcherType()
Gets the dispatcher type of the wrapped request.static DispatcherType
Returns the enum constant of this class with the specified name.static DispatcherType[]
DispatcherType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
FilterRegistration.addMappingForServletNames
(EnumSet<DispatcherType> dispatcherTypes, boolean isMatchAfter, String... servletNames) Adds a filter mapping with the given servlet names and dispatcher types for the Filter represented by this FilterRegistration.void
FilterRegistration.addMappingForUrlPatterns
(EnumSet<DispatcherType> dispatcherTypes, boolean isMatchAfter, String... urlPatterns) Adds a filter mapping with the given url patterns and dispatcher types for the Filter represented by this FilterRegistration.