public static interface RouteBuilder.OnMethods
Route's destination/endpoint.| Modifier and Type | Method and Description |
|---|---|
RouteBuilder.TargetEndpoint |
on(RequestMethod... methods)
Specifies which
RequestMethods should be supported by the Route. |
RouteBuilder.OnMethods |
roles(String... roles)
Specifies the roles that are allowed to invoke the target endpoint
|
RouteBuilder.TargetEndpoint on(RequestMethod... methods)
RequestMethods should be supported by the Route.methods - the RequestMethods that should be supported.RouteBuilder.TargetEndpoint which is a builder for the destination for this Route.RouteBuilder.OnMethods roles(String... roles)
roles - the roles.RouteBuilder.OnMethods to support method chaining.Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.