Package io.gravitee.gateway.api.ws
Interface WebSocketFrame
-
public interface WebSocketFrameRepresents a WebSocket frame.- Author:
- David BRASSELY (david.brassely at graviteesource.com), GraviteeSource Team
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classWebSocketFrame.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Bufferdata()This one is only valid in case of aTEXTorBINARYframe type.booleanisFinal()WebSocketFrame.Typetype()
-
-
-
Method Detail
-
type
WebSocketFrame.Type type()
-
data
Buffer data()
This one is only valid in case of aTEXTorBINARYframe type.- Returns:
-
isFinal
boolean isFinal()
-
-