Package | Description |
---|---|
ratpack.path |
Types for managing the paths of requests inside the application.
|
Modifier and Type | Method and Description |
---|---|
static PathBinderBuilder |
PathBinder.builder()
Creates a new path binder builder.
|
PathBinderBuilder |
PathBinderBuilder.literal(java.lang.String literal)
Add a literal to the path.
|
PathBinderBuilder |
PathBinderBuilder.literalPattern(java.lang.String pattern)
Add a regular expression parameterized literal element to the path.
|
PathBinderBuilder |
PathBinderBuilder.optionalToken(java.lang.String token)
Add an optional token to the path.
|
PathBinderBuilder |
PathBinderBuilder.optionalTokenWithPattern(java.lang.String token,
java.lang.String pattern)
Add a regular expression parameterized named optional token to the path.
|
PathBinderBuilder |
PathBinderBuilder.token(java.lang.String token)
Add a token to the path.
|
PathBinderBuilder |
PathBinderBuilder.tokenWithPattern(java.lang.String token,
java.lang.String pattern)
Add a regular expression parameterized named token to the path.
|
Modifier and Type | Method and Description |
---|---|
static PathBinder |
PathBinder.of(boolean exhaustive,
Action<? super PathBinderBuilder> action)
Builds a path binder programmatically.
|