public final class Prefix extends Object implements Comparable<Prefix>
Modifier and Type | Field and Description |
---|---|
String[] |
elements |
String |
handler |
String |
prefix |
Constructor and Description |
---|
Prefix(String prefix) |
Prefix(String prefix,
String handler) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Prefix other) |
boolean |
hasAnyCommonPrefix(String router) |
boolean |
matches(String path) |
String |
toString() |
Copyright © 2017. All rights reserved.