WildcardSubstitutesImpl
public interface WildcardSubstitutes
WildcardSubstitutes
contains all information available regarding
substitution of wildcards using the PathMatcher
.Modifier and Type | Method | Description |
---|---|---|
String |
getWildcardReplacement(String aWildcardName) |
Returns the wildcard substitute for the wildcards in your path pattern
(see
PathMatcher.getPathPattern() ) compared to the actual path
(as of PathMatcher.toWildcardSubstitutes(String) ). |
String |
getWildcardReplacementAt(int aIndex) |
Returns the wildcard substitute for the wildcards in your path pattern
(see
PathMatcher.getPathPattern() ) compared to the actual path
(as of PathMatcher.toWildcardSubstitutes(String) ). |
String[] |
getWildcardReplacements() |
Returns an array of the wildcard substitutes for the wildcards in your
path pattern (see
PathMatcher.getPathPattern() ) compared to the
actual path (as of PathMatcher.toWildcardSubstitutes(String) ). |
String[] |
getWildcardReplacements(String... aWildcardNames) |
Returns the wildcard substitutes for the wildcards in your path pattern
(see
PathMatcher.getPathPattern() ) compared to the actual path
(as of PathMatcher.toWildcardSubstitutes(String) ). |
String[] |
getWildcardReplacementsAt(int... aIndexes) |
Returns the wildcard substitutes for the wildcards in your path pattern
(see
PathMatcher.getPathPattern() ) compared to the actual path
(as of PathMatcher.toWildcardSubstitutes(String) ). |
String[] getWildcardReplacements()
PathMatcher.getPathPattern()
) compared to the
actual path (as of PathMatcher.toWildcardSubstitutes(String)
).
The order of the wildcard substitutes aligns to the order of the
wildcards (from left to right) defined in your path pattern.String getWildcardReplacementAt(int aIndex)
PathMatcher.getPathPattern()
) compared to the actual path
(as of PathMatcher.toWildcardSubstitutes(String)
). The text of
the wildcard substitute aligns to the index of the wildcard (from left to
right) as defined in your path pattern.aIndex
- The index of the wildcard in question for which to retrieve
the substitute.String[] getWildcardReplacementsAt(int... aIndexes)
PathMatcher.getPathPattern()
) compared to the actual path
(as of PathMatcher.toWildcardSubstitutes(String)
). The text of
the wildcard substitutes aligns to the index of the wildcards (from left
to right) as defined in your path pattern.aIndexes
- The index of the wildcards in question for which to
retrieve the substitutes.String getWildcardReplacement(String aWildcardName)
PathMatcher.getPathPattern()
) compared to the actual path
(as of PathMatcher.toWildcardSubstitutes(String)
). The text of
the wildcard substitute aligns to the name of the wildcard (as defined in
your path pattern).aWildcardName
- The name of the wildcard in question for which to
retrieve the substitute.String[] getWildcardReplacements(String... aWildcardNames)
PathMatcher.getPathPattern()
) compared to the actual path
(as of PathMatcher.toWildcardSubstitutes(String)
). The text of
the wildcard substitutes aligns to the order of the provided wildcard
names (as defined in your path pattern).aWildcardNames
- The names of the wildcards in question for which to
retrieve the substitutes in the order of the provided names.Copyright © 2018. All rights reserved.