Class PingFrame
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.WebSocketFrame
-
- org.eclipse.jetty.websocket.common.frames.ControlFrame
-
- org.eclipse.jetty.websocket.common.frames.PingFrame
-
- All Implemented Interfaces:
Frame
@Deprecated(since="2021-05-27") public class PingFrame extends ControlFrame
Deprecated.
-
-
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
-
-
Constructor Summary
Constructors Constructor Description PingFrame()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Frame.Type
getType()
Deprecated.PingFrame
setPayload(byte[] bytes)
Deprecated.PingFrame
setPayload(java.lang.String payload)
Deprecated.-
Methods inherited from class org.eclipse.jetty.websocket.common.frames.ControlFrame
assertValid, equals, getPayload, isControlFrame, isDataFrame, setPayload
-
-
-
-
Method Detail
-
setPayload
public PingFrame setPayload(byte[] bytes)
Deprecated.
-
setPayload
public PingFrame setPayload(java.lang.String payload)
Deprecated.
-
getType
public Frame.Type getType()
Deprecated.- Specified by:
getType
in interfaceFrame
- Overrides:
getType
in classWebSocketFrame
-
-