Package io.vertx.up.uca.options
Class HttpServerVisitor
- java.lang.Object
-
- io.vertx.up.uca.options.HttpServerVisitor
-
- All Implemented Interfaces:
ServerVisitor<io.vertx.core.http.HttpServerOptions>,Visitor<ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions>>
- Direct Known Subclasses:
DynamicVisitor,RxServerVisitor,SockServerVisitor
public class HttpServerVisitor extends Object implements ServerVisitor<io.vertx.core.http.HttpServerOptions>
- Author:
- lang Http options only, it's standard
-
-
Field Summary
Fields Modifier and Type Field Description protected JTransformer<io.vertx.core.http.HttpServerOptions>transformer-
Fields inherited from interface io.vertx.up.uca.options.ServerVisitor
KEY, YKEY_CONFIG, YKEY_NAME, YKEY_TYPE
-
-
Constructor Summary
Constructors Constructor Description HttpServerVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidextract(io.vertx.core.json.JsonArray serverData, ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions> map)protected io.vertx.up.log.AnnalgetLogger()protected io.vertx.up.eon.em.ServerTypegetType()protected booleanisServer(io.vertx.core.json.JsonObject item)ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions>visit(String... key)
-
-
-
Field Detail
-
transformer
protected final transient JTransformer<io.vertx.core.http.HttpServerOptions> transformer
-
-
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>>- Returns:
- Server config to generate HttpServerOptions by port
- Throws:
io.vertx.up.exception.ZeroException- ServerConfigException
-
extract
protected void extract(io.vertx.core.json.JsonArray serverData, ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions> map)
-
isServer
protected boolean isServer(io.vertx.core.json.JsonObject item)
-
getType
protected io.vertx.up.eon.em.ServerType getType()
-
getLogger
protected io.vertx.up.log.Annal getLogger()
-
-