public static class FilterDefinition.Mapping extends Object
Constructor and Description |
---|
Mapping(EnumSet<javax.servlet.DispatcherType> dispatcherTypes,
boolean isMatchAfter,
String... values)
Creates a mapping for the specified
DispatcherType s, isMatchAfter and values. |
Mapping(String... values)
Creates a mapping for all
DispatcherType s, with the isMatchAfter attribute set to false and with the
specified values. |
Modifier and Type | Method and Description |
---|---|
EnumSet<javax.servlet.DispatcherType> |
getDispatcherTypes() |
String[] |
getValues() |
boolean |
isMatchAfter() |
public Mapping(String... values)
DispatcherType
s, with the isMatchAfter attribute set to false and with the
specified values.values
- the values of this mapping (either URL patterns or Servlet names).FilterRegistration.addMappingForServletNames(EnumSet, boolean, String...)
,
FilterRegistration.addMappingForUrlPatterns(EnumSet, boolean, String...)
public Mapping(EnumSet<javax.servlet.DispatcherType> dispatcherTypes, boolean isMatchAfter, String... values)
DispatcherType
s, isMatchAfter and values.dispatcherTypes
- the dispatcher types for this mapping.isMatchAfter
- the isMatchAfter attribute.values
- the values of this mapping (either URL patterns or Servlet names).FilterRegistration.addMappingForServletNames(EnumSet, boolean, String...)
,
FilterRegistration.addMappingForUrlPatterns(EnumSet, boolean, String...)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.