Uses of Class
javax.servlet.DispatcherType
-
Packages that use DispatcherType Package Description javax.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.javax.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 javax.servlet
Methods in javax.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(java.lang.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 javax.servlet with type arguments of type DispatcherType Modifier and Type Method Description void
FilterRegistration. addMappingForServletNames(java.util.EnumSet<DispatcherType> dispatcherTypes, boolean isMatchAfter, java.lang.String... servletNames)
Adds a filter mapping with the given servlet names and dispatcher types for the Filter represented by this FilterRegistration.void
FilterRegistration. addMappingForUrlPatterns(java.util.EnumSet<DispatcherType> dispatcherTypes, boolean isMatchAfter, java.lang.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 javax.servlet.annotation
Methods in javax.servlet.annotation that return DispatcherType Modifier and Type Method Description DispatcherType[]
dispatcherTypes()
The dispatcher types to which the filter applies
-