| Modifier and Type | Class and Description |
|---|---|
static class |
ByMethodsRule.Standard
Standard method rules.
|
RtRule.All, RtRule.Any, RtRule.ByHeader, RtRule.ByMethod, RtRule.ByPath, RtRule.Multiple, RtRule.Wrap| Constructor and Description |
|---|
ByMethodsRule(RqMethod... methods)
Route by methods.
|
ByMethodsRule(Set<RqMethod> methods)
Route by methods.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(String line,
Iterable<Map.Entry<String,String>> headers)
Apply this rule to request.
|
public ByMethodsRule(RqMethod... methods)
methods - Method namesCopyright © 2012–2020 jcabi.com. All rights reserved.