io.vertx.core.http

## Class WebsocketRejectedException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - io.vertx.core.VertxException
        - - io.vertx.core.http.WebsocketRejectedException

- All Implemented Interfaces:
    Serializable

      public class WebsocketRejectedException
      extends VertxException

  Author:
    Julien Viet
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WebsocketRejectedException(int status)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getStatus()`

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

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

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

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

- - ### Constructor Detail

    - #### WebsocketRejectedException

          public WebsocketRejectedException(int status)

  - ### Method Detail

    - #### getStatus

          public int getStatus()

      Returns:
        the status code of the response that rejected the upgrade

Copyright © 2018 Eclipse. All rights reserved.