io.vertx.core.http

## Class HttpClosedException

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

- All Implemented Interfaces:
    Serializable

      public class HttpClosedException
      extends VertxException

  Signals a HTTP connection close.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HttpClosedException()`
    `HttpClosedException(GoAway goAway)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `GoAway` | `goAway()`

    - ### 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

    - #### HttpClosedException

          public HttpClosedException()

    - #### HttpClosedException

          public HttpClosedException(GoAway goAway)

  - ### Method Detail

    - #### goAway

          public GoAway goAway()

      Returns:
        the data received when the connection received a `GOAWAY` frame prior disconnection (HTTP/2 only)

Copyright © 2022 Eclipse. All rights reserved.