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