| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final LinkedList | |
| private static final System. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| pack-priv boolean | |
| pack-priv HttpContextImpl | Returns: the context with the longest case-sensitive prefix matchthe request protocol protocol, String the request path path)Returns the context with the longest case-sensitive prefix match. |
| private synchronized HttpContextImpl | |
| public synchronized void | |
| public synchronized void | |
| public synchronized int |
| list | back to summary |
|---|---|
| private final LinkedList<HttpContextImpl> list | |
| LOGGER | back to summary |
|---|---|
| private static final System. | |
| ContextList | back to summary |
|---|---|
| pack-priv ContextList() | |
| add | back to summary |
|---|---|
| public synchronized void add(HttpContextImpl ctx) | |
| contains | back to summary |
|---|---|
| pack-priv boolean contains(HttpContextImpl ctx) | |
| findContext | back to summary |
|---|---|
| pack-priv HttpContextImpl findContext(String protocol, String path) Returns the context with the longest case-sensitive prefix match.
| |
| findContext | back to summary |
|---|---|
| private synchronized HttpContextImpl findContext(String protocol, String path, ContextList. | |
| remove | back to summary |
|---|---|
| public synchronized void remove(String protocol, String path) throws IllegalArgumentException | |
| remove | back to summary |
|---|---|
| public synchronized void remove(HttpContextImpl context) throws IllegalArgumentException | |
| size | back to summary |
|---|---|
| public synchronized int size() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ContextList. | EXACT
Tests if both the request path and the context path are identical. |
| public static final ContextList. | PATH_PREFIX
Tests path prefix matches where path segments must have an exact match. |
| private final BiPredicate | |
| public static final ContextList. | STRING_PREFIX
Tests string prefix matches where the request path string starts with the context path string. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static ContextList. | |
| public boolean | test(String contextPath, String requestPath)
Implements java. Evaluates this predicate on the given arguments. |
| public static ContextList. | |
| public static ContextList. |
| EXACT | back to summary |
|---|---|
| public static final ContextList. Tests if both the request path and the context path are identical. | |
| PATH_PREFIX | back to summary | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final ContextList. Tests path prefix matches where path segments must have an exact match. Examples
| |||||||||||||||||||||||||
| predicate | back to summary |
|---|---|
| private final BiPredicate<String, String> predicate | |
| STRING_PREFIX | back to summary | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final ContextList. Tests string prefix matches where the request path string starts with the context path string. Examples
| |||||||||||||||||||||||||
| ContextPathMatcher | back to summary |
|---|---|
| private ContextPathMatcher(BiPredicate<String, String> predicate) | |
| ofConfiguredPrefixPathMatcher | back to summary |
|---|---|
| private static ContextList. | |
| test | back to summary |
|---|---|
| public boolean test(String contextPath, String requestPath) Implements java. Doc from java. Evaluates this predicate on the given arguments.
| |
| valueOf | back to summary |
|---|---|
| public static ContextList. | |
| values | back to summary |
|---|---|
| public static ContextList. | |