Package burp.api.montoya.websocket
Interface TextMessageAction
public interface TextMessageAction
Text WebSocket message.
-
Method Summary
Modifier and TypeMethodDescriptionaction()
static TextMessageAction
continueWith
(TextMessage textMessage) Build a text WebSocket message to be processed.static TextMessageAction
continueWith
(String payload) Build a text WebSocket message to be processed.static TextMessageAction
drop()
Build a text WebSocket message to be dropped.payload()
static TextMessageAction
textMessageAction
(String payload, MessageAction action) Build a websocket text message action.
-
Method Details
-
action
MessageAction action()- Returns:
- The action associated with this message.
-
payload
String payload()- Returns:
- The payload of this message.
-
continueWith
Build a text WebSocket message to be processed.- Parameters:
payload
- The text message payload.- Returns:
- The
TextMessageAction
containing the message to be processed.
-
continueWith
Build a text WebSocket message to be processed.- Parameters:
textMessage
- the text message payload- Returns:
- The
TextMessageAction
containing the message to be processed.
-
drop
Build a text WebSocket message to be dropped.- Returns:
- The
TextMessageAction
dropping the message.
-
textMessageAction
Build a websocket text message action.- Parameters:
payload
- the binary payload for the messageaction
- the action to take for the message.- Returns:
- The
TextMessageAction
containing the message and the action.
-