public class PongFrame extends ControlFrame
Frame.TypeMAX_CONTROL_PAYLOAD| Constructor and Description |
|---|
PongFrame() |
| Modifier and Type | Method and Description |
|---|---|
Frame.Type |
getType() |
PongFrame |
setPayload(byte[] bytes) |
PongFrame |
setPayload(String payload) |
assertValid, equals, getPayload, isControlFrame, isDataFrame, setPayloadpublic PongFrame setPayload(byte[] bytes)
public Frame.Type getType()
getType in interface FramegetType in class WebSocketFrameCopyright © 2010 - 2020 Adobe. All Rights Reserved