io.vertx.core

## Class VoidHandler

- java.lang.Object
- - io.vertx.core.VoidHandler

- All Implemented Interfaces:
    Handler<Void>

  Deprecated.

      @Deprecated
      public abstract class VoidHandler
      extends Object
      implements Handler<Void>

  This class can be used for simple handlers which don't receive any value.
  Author:
    Tim Fox

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `VoidHandler()` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | `handle()` Deprecated. Handle the event.
    `void` | `handle(Void event)` Deprecated. Something has happened, so handle it.

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### VoidHandler

          public VoidHandler()

      Deprecated.

  - ### Method Detail

    - #### handle

          public final void handle(Void event)

      Deprecated.
      Description copied from interface: `Handler`
      Something has happened, so handle it.
      Specified by:
        `handle` in interface `Handler<Void>`
      Parameters:
        `event` - the event to handle

    - #### handle

          protected abstract void handle()

      Deprecated.
      Handle the event. It should be overridden by the user.

Copyright © 2017. All rights reserved.