| Package | Description |
|---|---|
| jakarta.servlet |
| Modifier and Type | Method and Description |
|---|---|
DispatcherType |
ServletRequest.getDispatcherType() |
DispatcherType |
ServletRequestWrapper.getDispatcherType()
The default behavior of this method is to call getDispatcherType() on the
wrapped request object.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FilterRegistration.addMappingForServletNames(java.util.EnumSet<DispatcherType> dispatcherTypes,
boolean isMatchAfter,
java.lang.String... servletNames)
Add a mapping for this filter to one or more named Servlets.
|
void |
FilterRegistration.addMappingForUrlPatterns(java.util.EnumSet<DispatcherType> dispatcherTypes,
boolean isMatchAfter,
java.lang.String... urlPatterns)
Add a mapping for this filter to one or more URL patterns.
|
Copyright © 2014–2021. All rights reserved.