Class TextFrame
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.WebSocketFrame
-
- org.eclipse.jetty.websocket.common.frames.DataFrame
-
- org.eclipse.jetty.websocket.common.frames.TextFrame
-
-
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.WebSocketFrame
data, finRsvOp, mask, masked
-
-
Constructor Summary
Constructors Constructor Description TextFrame()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPayloadAsUTF8()
Frame.Type
getType()
TextFrame
setPayload(java.lang.String str)
-
Methods inherited from class org.eclipse.jetty.websocket.common.frames.DataFrame
assertValid, isControlFrame, isDataFrame, setIsContinuation
-
Methods inherited from class org.eclipse.jetty.websocket.common.WebSocketFrame
copy, copyHeaders, copyHeaders, equals, getMask, getOpCode, getPayload, getPayloadLength, hashCode, hasPayload, isFin, isLast, isMasked, isRsv1, isRsv2, isRsv3, reset, setFin, setMask, setMasked, setOpCode, setPayload, setRsv1, setRsv2, setRsv3, toString
-
-
-
-
Method Detail
-
getType
public Frame.Type getType()
- Specified by:
getType
in interfaceFrame
- Overrides:
getType
in classWebSocketFrame
-
setPayload
public TextFrame setPayload(java.lang.String str)
-
getPayloadAsUTF8
public java.lang.String getPayloadAsUTF8()
- Overrides:
getPayloadAsUTF8
in classWebSocketFrame
-
-