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 Details

    • transformer

      protected final transient JTransformer<io.vertx.core.http.HttpServerOptions> 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:
      visit in interface Visitor<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)