WsPongMessage (Apache Tomcat 9.0.37 API Documentation)

org.apache.tomcat.websocket

## Class WsPongMessage

- java.lang.Object
- - org.apache.tomcat.websocket.WsPongMessage

- All Implemented Interfaces:
    PongMessage

      public class WsPongMessage
      extends Object
      implements PongMessage

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WsPongMessage(ByteBuffer applicationData)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ByteBuffer` | `getApplicationData()` Get the payload of the Pong message.

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

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

- - ### Constructor Detail

    - #### WsPongMessage

          public WsPongMessage(ByteBuffer applicationData)

  - ### Method Detail

    - #### getApplicationData

          public ByteBuffer getApplicationData()

      Description copied from interface: `javax.websocket.PongMessage`
      Get the payload of the Pong message.
      Specified by:
        `getApplicationData` in interface `PongMessage`
      Returns:
        The payload of the Pong message.

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.