(String prefix)
| 122 | } |
| 123 | |
| 124 | public static NestedRouteConfig prefix(String prefix) { |
| 125 | Require.nonNull("Prefix", prefix); |
| 126 | Require.stateCondition(!prefix.isEmpty(), "Prefix to use must not be of 0 length"); |
| 127 | return new NestedRouteConfig(prefix); |
| 128 | } |
| 129 | |
| 130 | public static Route combine(Routable first, Routable... others) { |
| 131 | Require.nonNull("At least one route", first); |