Class 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.
  • Constructor Details

    • DynamicVisitor

      public DynamicVisitor()
  • 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>>
      Overrides:
      visit in class HttpServerVisitor
      Returns:
      Server config to generate HttpServerOptions by port
      Throws:
      io.horizon.exception.ProgramException - ServerConfigException
    • isServer

      public boolean isServer(io.vertx.core.json.JsonObject item)