Package io.vertx.up.uca.options
Class HttpServerVisitor
java.lang.Object
io.vertx.up.uca.options.AbstractSVisitor
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
public class HttpServerVisitor
extends AbstractSVisitor
implements ServerVisitor<io.vertx.core.http.HttpServerOptions>
- Author:
- lang Http options only, it's standard
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final JTransformer<io.vertx.core.http.HttpServerOptions> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidextract(io.vertx.core.json.JsonArray serverData, ConcurrentMap<Integer, io.vertx.core.http.HttpServerOptions> map) ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions> Methods inherited from class io.vertx.up.uca.options.AbstractSVisitor
logger, serverPreMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertx.up.uca.options.ServerVisitor
isServer, logger, serverPort, serverType
-
Field Details
-
transformer
-
-
Constructor Details
-
HttpServerVisitor
public HttpServerVisitor()
-
-
Method Details
-
visit
public ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions> visit(String... key) throws io.horizon.exception.ProgramException - Specified by:
visitin interfaceVisitor<ConcurrentMap<Integer,io.vertx.core.http.HttpServerOptions>> - Returns:
- Server config to generate HttpServerOptions by port
- Throws:
io.horizon.exception.ProgramException- ServerConfigException
-
extract
protected void extract(io.vertx.core.json.JsonArray serverData, ConcurrentMap<Integer, io.vertx.core.http.HttpServerOptions> map)
-