Package | Description |
---|---|
com.spotify.apollo.route |
Modifier and Type | Method and Description |
---|---|
static <T> Rule<T> |
Rule.fromUri(String uri,
List<String> methods,
T target)
Create a new rule.
|
static <T> Rule<T> |
Rule.fromUri(String uri,
String methods,
T target)
Create a new rule.
|
Rule<T> |
RuleMatch.getRule() |
Modifier and Type | Method and Description |
---|---|
static <T> RuleRouter<T> |
RuleRouter.of(Iterable<Rule<T>> rules)
Create a router from a list of rules.
|
Constructor and Description |
---|
RuleMatch(Rule<T> rule,
Map<String,String> pathArguments) |
Copyright © 2016. All rights reserved.