Uses of Enum Class
javax.servlet.DispatcherType
Packages that use DispatcherType
Package
Description
The javax.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 javax.servlet
Methods in javax.servlet that return DispatcherTypeModifier and TypeMethodDescriptiondefault DispatcherType
ServletRequest.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.Method parameters in javax.servlet with type arguments of type DispatcherTypeModifier 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.