Class PongFrame
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.WebSocketFrame
-
- org.eclipse.jetty.websocket.common.frames.ControlFrame
-
- org.eclipse.jetty.websocket.common.frames.PongFrame
-
- All Implemented Interfaces:
Frame
public class PongFrame extends ControlFrame
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.websocket.api.extensions.Frame
Frame.Type
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.websocket.common.frames.ControlFrame
MAX_CONTROL_PAYLOAD
-
Fields inherited from class org.eclipse.jetty.websocket.common.WebSocketFrame
data, finRsvOp, mask, masked
-
-
Constructor Summary
Constructors Constructor Description PongFrame()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Frame.Type
getType()
PongFrame
setPayload(byte[] bytes)
PongFrame
setPayload(java.lang.String payload)
-
Methods inherited from class org.eclipse.jetty.websocket.common.frames.ControlFrame
assertValid, equals, getPayload, isControlFrame, isDataFrame, setPayload
-
Methods inherited from class org.eclipse.jetty.websocket.common.WebSocketFrame
copy, copyHeaders, copyHeaders, getMask, getOpCode, getPayloadAsUTF8, getPayloadLength, hashCode, hasPayload, isFin, isLast, isMasked, isRsv1, isRsv2, isRsv3, reset, setFin, setMask, setMasked, setOpCode, setRsv1, setRsv2, setRsv3, toString
-
-
-
-
Method Detail
-
setPayload
public PongFrame setPayload(byte[] bytes)
-
setPayload
public PongFrame setPayload(java.lang.String payload)
-
getType
public Frame.Type getType()
- Specified by:
getType
in interfaceFrame
- Overrides:
getType
in classWebSocketFrame
-
-