Uses of Class
javax.servlet.DispatcherType
| Package | Description |
|---|---|
| javax.servlet |
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 DispatcherType Modifier and Type Method Description DispatcherTypeServletRequest. getDispatcherType()Gets the dispatcher type of this request.DispatcherTypeServletRequestWrapper. getDispatcherType()Gets the dispatcher type of the wrapped request.static DispatcherTypeDispatcherType. 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 voidFilterRegistration. 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.voidFilterRegistration. 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.