Package: io.vertx.groovy.ext.web.handler

## [Groovy] Class VirtualHostHandler

- io.vertx.groovy.ext.web.handler.VirtualHostHandler

- All Implemented Interfaces and Traits:
    Handler

      @CompileStatic
      class VirtualHostHandler

  Handler that will filter requests based on the request Host name.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `VirtualHostHandler (Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static VirtualHostHandler` | `create(String hostname, Handler<RoutingContext> handler)` Create a handler
    `Object` | `getDelegate()`
    `void` | `handle(RoutingContext arg0)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### VirtualHostHandler(Object delegate)

  - ### Method Detail

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

      Create a handler

      Returns:
        the handler
      Parameters:
        hostname
        handler

    - #### Object getDelegate()

    - #### void handle(RoutingContext arg0)