io.vertx.core.http

## Class UpgradeRejectedException

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

- All Implemented Interfaces:
    Serializable

      public class UpgradeRejectedException
      extends VertxException

  Author:
    Julien Viet
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `UpgradeRejectedException(String message, 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

    - #### UpgradeRejectedException

          public UpgradeRejectedException(String message,
                                          int status)

  - ### Method Detail

    - #### getStatus

          public int getStatus()

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

Copyright © 2022 Eclipse. All rights reserved.