| Constructor and Description |
|---|
ContinuationFrame()
Constructs an empty Web Socket continuation frame.
|
ContinuationFrame(boolean finalFragment,
int rsvBits,
byte[] payload)
Constructs a Web Socket continuation frame containing binary data.
|
ContinuationFrame(boolean finalFragment,
int rsvBits,
String text)
Constructs a Web Socket continuation frame containing text data.
|
ContinuationFrame(byte[] payload)
Constructs a Web Socket continuation frame containing binary data.
|
ContinuationFrame(String text)
Constructs a Web Socket continuation frame containing text data.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getText()
Returns the text data in this frame.
|
getOpcode, getPayload, getPayloadLength, getRsvBits, isFinalFragment, isRsvBit1, isRsvBit2, isRsvBit3public ContinuationFrame(boolean finalFragment,
int rsvBits,
byte[] payload)
finalFragment - determines if the created frame is the final fragment in
a messagersvBits - reserved bits for extensions or future versionspayload - payload datapublic ContinuationFrame(byte[] payload)
payload - payload datapublic ContinuationFrame()
public ContinuationFrame(boolean finalFragment,
int rsvBits,
String text)
finalFragment - determines if the created frame is the final fragment in
a messagersvBits - reserved bits for extensions or future versionstext - text datapublic ContinuationFrame(String text)
text - text datapublic String getText()
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.