Uses of Class
jakarta.servlet.DispatcherType
-
Packages that use DispatcherType Package Description jakarta.servlet 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.jakarta.servlet.annotation The jakarta.servlet.annotation package contains a number of annotations that allow users to use annotations to declare servlets, filters, listeners and specify the metadata for the declared component. -
-
Uses of DispatcherType in jakarta.servlet
Methods in jakarta.servlet that return DispatcherType Modifier and Type Method Description DispatcherType
ServletRequest. getDispatcherType()
Gets the dispatcher type of this request.DispatcherType
ServletRequestWrapper. getDispatcherType()
Gets the dispatcher type of the wrapped request.static DispatcherType
DispatcherType. valueOf(String name)
Returns the enum constant of this type with the specified name.static DispatcherType[]
DispatcherType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Method parameters in jakarta.servlet with type arguments of type DispatcherType Modifier and Type Method Description void
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. -
Uses of DispatcherType in jakarta.servlet.annotation
Methods in jakarta.servlet.annotation that return DispatcherType Modifier and Type Method Description DispatcherType[]
dispatcherTypes()
The dispatcher types to which the filter applies
-