Record Class WsPongMessage
java.lang.Object
java.lang.Record
org.apache.tomcat.websocket.WsPongMessage
- All Implemented Interfaces:
- PongMessage
- 
Constructor SummaryConstructorsConstructorDescriptionWsPongMessage(ByteBuffer applicationData) Creates an instance of aWsPongMessagerecord class.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of theapplicationDatarecord component.final booleanIndicates whether some other object is "equal to" this one.Get the payload of the Pong message.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
WsPongMessageCreates an instance of aWsPongMessagerecord class.- Parameters:
- applicationData- the value for the- applicationDatarecord component
 
 
- 
- 
Method Details- 
getApplicationDataDescription copied from interface:jakarta.websocket.PongMessageGet the payload of the Pong message.- Specified by:
- getApplicationDatain interface- PongMessage
- Returns:
- The payload of the Pong message.
 
- 
toString
- 
hashCode
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
applicationDataReturns the value of theapplicationDatarecord component.- Returns:
- the value of the applicationDatarecord component
 
 
-