Package ch.nolix.core.net.websocket
Klasse WebSocketFrame
java.lang.Object
ch.nolix.core.net.websocket.WebSocketFrame
-
Konstruktorübersicht
KonstruktorBeschreibungWebSocketFrame
(boolean mFINBit, WebSocketFrameOpcodeMeaning opcode, boolean maskBit, byte[] payload) WebSocketFrame
(boolean mFINBit, WebSocketFrameOpcodeMeaning opcode, boolean maskBit, String payload) WebSocketFrame
(InputStream inputStream) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic WebSocketFrame
createPongFrameFor
(WebSocketFrame pingFrame) boolean
boolean
int
byte[]
long
boolean
boolean
boolean
boolean
boolean
boolean
byte[]
toBytes()
-
Konstruktordetails
-
WebSocketFrame
public WebSocketFrame(boolean mFINBit, WebSocketFrameOpcodeMeaning opcode, boolean maskBit, byte[] payload) -
WebSocketFrame
public WebSocketFrame(boolean mFINBit, WebSocketFrameOpcodeMeaning opcode, boolean maskBit, String payload) -
WebSocketFrame
-
-
Methodendetails
-
createPongFrameFor
-
createPongFrame
-
getFINBit
public boolean getFINBit() -
getFrameType
-
getLengthInBytes
-
getMaskBit
public boolean getMaskBit() -
getMaskLength
public int getMaskLength() -
getOpcodeMeaning
-
getPayloadLength
public long getPayloadLength() -
getPayloadLengthType
-
getPayload
public byte[] getPayload() -
isControlFrame
public boolean isControlFrame() -
isDataFrame
public boolean isDataFrame() -
isFinalFragment
public boolean isFinalFragment() -
isPingFrame
public boolean isPingFrame() -
isPongFrame
public boolean isPongFrame() -
masksPayload
public boolean masksPayload() -
toBytes
public byte[] toBytes()
-