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.
|
Modifier and Type | Method and Description |
---|---|
DispatcherType |
ServletRequestWrapper.getDispatcherType()
Gets the dispatcher type of the wrapped request.
|
DispatcherType |
ServletRequest.getDispatcherType()
Gets the dispatcher type of this 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.
|
Modifier and Type | Method and 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.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.