Package burp.api.montoya.websocket
Interface BinaryMessageAction
public interface BinaryMessageAction
Binary WebSocket message.
-
Method Summary
Modifier and TypeMethodDescriptionaction()
static BinaryMessageAction
binaryMessageAction
(ByteArray payload, MessageAction action) Build a binary websocket message action.static BinaryMessageAction
continueWith
(ByteArray payload) Build a binary WebSocket message to be processed.static BinaryMessageAction
continueWith
(BinaryMessage binaryMessage) Build a binary WebSocket message to be processed.static BinaryMessageAction
drop()
Build a binary WebSocket message to be dropped.payload()
-
Method Details
-
action
MessageAction action()- Returns:
- The action associated with this message.
-
payload
ByteArray payload()- Returns:
- The payload of this message.
-
continueWith
Build a binary WebSocket message to be processed.- Parameters:
payload
- The binary message payload.- Returns:
- The
BinaryMessageAction
containing the message to be processed.
-
continueWith
Build a binary WebSocket message to be processed.- Parameters:
binaryMessage
- The binary message payload.- Returns:
- The
BinaryMessageAction
containing the message to be processed.
-
drop
Build a binary WebSocket message to be dropped.- Returns:
- The
BinaryMessageAction
dropping the message.
-
binaryMessageAction
Build a binary websocket message action.- Parameters:
payload
- the binary payload for the messageaction
- the action to take for the message.- Returns:
- The
BinaryMessageAction
containing the message and the action.
-