| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | HttpPredicate.UriPathTemplate
Represents a URI template. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final HttpMethod | |
| pack-priv final HttpVersion | |
| pack-priv final HttpPredicate. | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Map | apply(Object
the function argument key)Implements java. |
| public static Predicate | Returns: The newPredicate.The string to compile into a URI template and use for matching uri)An alias for |
| public static Predicate | Returns: The newPredicate.The string to compile into a URI template and use for matching uri)An alias for |
| public static Predicate | Returns: The newPredicate.The string to compile into a URI template and use for matching uri)An alias for |
| public static Predicate | Returns: The newHttpPredicate.The string to compile into a URI template and use for matching uri, HttpVersion protocol, HttpMethod method)Creates a |
| public static Predicate | Returns: The newPredicate.The string to compile into a URI template and use for matching uri)An alias for |
| public static Predicate | Returns: The newPredicate.The string to compile into a URI template and use for matching uri)An alias for |
| public static Predicate | Returns: The newPredicate.An alias for |
| public static Predicate | Returns: The newPredicate.An alias for |
| public static Predicate | Returns: The newPredicate.The string to compile into a URI template and use for matching uri)An alias for |
| public final boolean | test(HttpServerRequest
the input argument key)Implements java. |
| method | back to summary |
|---|---|
| pack-priv final HttpMethod method | |
| protocol | back to summary |
|---|---|
| pack-priv final HttpVersion protocol | |
| template | back to summary |
|---|---|
| pack-priv final HttpPredicate. | |
| uri | back to summary |
|---|---|
| pack-priv final String uri | |
| HttpPredicate | back to summary |
|---|---|
| public HttpPredicate(String uri, HttpVersion protocol, HttpMethod method) | |
| apply | back to summary |
|---|---|
| public Map Implements java. Doc from java. Applies this function to the given argument. | |
| delete | back to summary |
|---|---|
| public static Predicate An alias for
Creates a This will listen for DELETE Method.
| |
| get | back to summary |
|---|---|
| public static Predicate An alias for
Creates a This will listen for GET Method.
| |
| head | back to summary |
|---|---|
| public static Predicate An alias for
Creates a This will listen for HEAD Method.
| |
| http | back to summary |
|---|---|
| public static Predicate Creates a
| |
| options | back to summary |
|---|---|
| public static Predicate An alias for
Creates a This will listen for OPTIONS Method.
| |
| post | back to summary |
|---|---|
| public static Predicate An alias for
Creates a This will listen for POST Method.
| |
| prefix | back to summary |
|---|---|
| public static Predicate An alias for
Creates a This will listen for WebSocket Method.
| |
| prefix | back to summary |
|---|---|
| public static Predicate An alias for
Creates a This will listen for WebSocket Method.
| |
| put | back to summary |
|---|---|
| public static Predicate An alias for
Creates a This will listen for PUT Method.
| |
| test | back to summary |
|---|---|
| public final boolean test(HttpServerRequest key) Implements java. Doc from java. Evaluates this predicate on the given argument.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final HttpMethod | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | test(HttpServerRequest
the input argument key)Implements java. |
| method | back to summary |
|---|---|
| pack-priv final HttpMethod method | |
| prefix | back to summary |
|---|---|
| pack-priv final String prefix | |
| HttpPrefixPredicate | back to summary |
|---|---|
| public HttpPrefixPredicate(String prefix, HttpMethod method) | |
| test | back to summary |
|---|---|
| public boolean test(HttpServerRequest key) Implements java. Doc from java. Evaluates this predicate on the given argument.
| |
{, }), which can be
expanded to produce an actual URI.
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final String | |
| private static final Pattern | |
| private static final Pattern | |
| private final List | |
| private final Pattern | |
| private static final Pattern |
| Access | Constructor and Description |
|---|---|
| pack-priv | UriPathTemplate(String
The pattern to be used by the template uriPattern)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | |
| pack-priv static String | |
| private static String | |
| private static String | |
| pack-priv final Map | |
| private Matcher | |
| public boolean |
| FULL_SPLAT_PATTERN | back to summary |
|---|---|
| private static final Pattern FULL_SPLAT_PATTERN | |
| FULL_SPLAT_REPLACEMENT | back to summary |
|---|---|
| private static final String FULL_SPLAT_REPLACEMENT | |
| NAME_PATTERN | back to summary |
|---|---|
| private static final Pattern NAME_PATTERN | |
| NAME_SPLAT_PATTERN | back to summary |
|---|---|
| private static final Pattern NAME_SPLAT_PATTERN | |
| pathVariables | back to summary |
|---|---|
| private final List<String> pathVariables | |
| uriPattern | back to summary |
|---|---|
| private final Pattern uriPattern | |
| URL_PATTERN | back to summary |
|---|---|
| private static final Pattern URL_PATTERN | |
| UriPathTemplate | back to summary |
|---|---|
| pack-priv UriPathTemplate(String uriPattern) Creates a new
| |
| filterHostAndPort | back to summary |
|---|---|
| pack-priv static String filterHostAndPort(String uri) | |
| filterQueryParams | back to summary |
|---|---|
| pack-priv static String filterQueryParams(String uri) | |
| getNameReplacement | back to summary |
|---|---|
| private static String getNameReplacement(String name) | |
| getNameSplatReplacement | back to summary |
|---|---|
| private static String getNameSplatReplacement(String name) | |
| match | back to summary |
|---|---|
| pack-priv final Map Matches the template against the given | |
| matcher | back to summary |
|---|---|
| private Matcher matcher(String uri) | |
| matches | back to summary |
|---|---|
| public boolean matches(String uri) Tests the given
| |