io.vertx.rxjava.ext.web.handler

## Class VirtualHostHandler

- java.lang.Object
- - io.vertx.rxjava.ext.web.handler.VirtualHostHandler

- All Implemented Interfaces:
    Handler<RoutingContext>

      public class VirtualHostHandler
      extends Object
      implements Handler<RoutingContext>

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

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<VirtualHostHandler>` | `__TYPE_ARG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `VirtualHostHandler(VirtualHostHandler delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static VirtualHostHandler` | `create(String hostname, Handler<RoutingContext> handler)` Create a handler
    `boolean` | `equals(Object o)`
    `VirtualHostHandler` | `getDelegate()`
    `void` | `handle(RoutingContext event)` Something has happened, so handle it.
    `int` | `hashCode()`
    `static VirtualHostHandler` | `newInstance(VirtualHostHandler arg)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### __TYPE_ARG

          public static final io.vertx.lang.rx.TypeArg<VirtualHostHandler> __TYPE_ARG

  - ### Constructor Detail

    - #### VirtualHostHandler

          public VirtualHostHandler(VirtualHostHandler delegate)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### getDelegate

          public VirtualHostHandler getDelegate()

    - #### handle

          public void handle(RoutingContext event)

      Something has happened, so handle it.
      Specified by:
        `handle` in interface `Handler<RoutingContext>`
      Parameters:
        `event` - the event to handle

    - #### create

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

      Create a handler
      Parameters:
        `hostname` -
        `handler` -
      Returns:
        the handler

    - #### newInstance

          public static VirtualHostHandler newInstance(VirtualHostHandler arg)

Copyright © 2019 Eclipse. All rights reserved.