public interface RouteBuilder
Modifier and Type | Interface and Description |
---|---|
static interface |
RouteBuilder.ParameterControlBuilder |
Modifier and Type | Method and Description |
---|---|
Route |
build() |
void |
is(java.lang.Class<?> type,
java.lang.reflect.Method method) |
<T> T |
is(java.lang.Class<T> type) |
RouteBuilder |
with(HttpMethod method)
Accepts also this http method request.
|
RouteBuilder |
with(java.util.Set<HttpMethod> methods)
Accepts also all given http methods.
|
RouteBuilder.ParameterControlBuilder |
withParameter(java.lang.String name) |
RouteBuilder |
withPriority(int priority)
Changes Route priority
|
RouteBuilder.ParameterControlBuilder withParameter(java.lang.String name)
<T> T is(java.lang.Class<T> type)
void is(java.lang.Class<?> type, java.lang.reflect.Method method)
RouteBuilder with(HttpMethod method)
method
- RouteBuilder with(java.util.Set<HttpMethod> methods)
method
- RouteBuilder withPriority(int priority)
priority
- Route build()
Copyright © 2013 Caelum. All Rights Reserved.