(String template)
| 115 | } |
| 116 | |
| 117 | public static TemplatizedRouteConfig options(String template) { |
| 118 | UrlTemplate urlTemplate = new UrlTemplate(Require.nonNull("URL template", template)); |
| 119 | |
| 120 | return new TemplatizedRouteConfig( |
| 121 | new MatchesHttpMethod(OPTIONS).and(new MatchesTemplate(urlTemplate)), urlTemplate); |
| 122 | } |
| 123 | |
| 124 | public static NestedRouteConfig prefix(String prefix) { |
| 125 | Require.nonNull("Prefix", prefix); |
no test coverage detected