public interface CloudRouteRegister
限定符和类型 | 方法和说明 |
---|---|
CloudRouteRegister |
route(Route route)
登记路由
|
CloudRouteRegister |
route(java.lang.String id,
java.util.function.Consumer<Route> builder)
登记路由
|
CloudRouteRegister route(java.lang.String id, java.util.function.Consumer<Route> builder)
id
- 标识builder
- 路由构建器CloudRouteRegister route(Route route)
route
- 路由