Package io.vertx.up.uca.options
Class DynamicVisitor
- java.lang.Object
-
- io.vertx.up.uca.options.HttpServerVisitor
-
- io.vertx.up.uca.options.DynamicVisitor
-
- All Implemented Interfaces:
ServerVisitor<io.vertx.core.http.HttpServerOptions>,Visitor<ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions>>
public class DynamicVisitor extends HttpServerVisitor
- Author:
- lang Http options for dynamic extension.
-
-
Field Summary
-
Fields inherited from class io.vertx.up.uca.options.HttpServerVisitor
transformer
-
Fields inherited from interface io.vertx.up.uca.options.ServerVisitor
KEY, YKEY_CONFIG, YKEY_NAME, YKEY_TYPE
-
-
Constructor Summary
Constructors Constructor Description DynamicVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisServer(io.vertx.core.json.JsonObject item)ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions>visit(String... key)-
Methods inherited from class io.vertx.up.uca.options.HttpServerVisitor
extract, getLogger, getType
-
-
-
-
Method Detail
-
visit
public ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions> visit(String... key) throws io.vertx.up.exception.ZeroException
- Specified by:
visitin interfaceVisitor<ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions>>- Overrides:
visitin classHttpServerVisitor- Returns:
- Server config to generate HttpServerOptions by port
- Throws:
io.vertx.up.exception.ZeroException- ServerConfigException
-
isServer
protected boolean isServer(io.vertx.core.json.JsonObject item)
- Overrides:
isServerin classHttpServerVisitor
-
-