io.vertx.ext.web.handler

## Interface VirtualHostHandler

- All Superinterfaces:
    Handler<RoutingContext>

      public interface VirtualHostHandler
      extends Handler<RoutingContext>

  Handler that will filter requests based on the request Host name.
  Author:
    Paulo Lopes

- - ### Method Summary

    All Methods Static Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static VirtualHostHandler` | `create(String hostname, Handler<RoutingContext> handler)` Create a handler

    - ### Methods inherited from interface io.vertx.core.Handler

      `handle`

- - ### Method Detail

    - #### create

          static VirtualHostHandler create(String hostname,
                                           Handler<RoutingContext> handler)

      Create a handler
      Returns:
        the handler

Copyright © 2015. All rights reserved.