Package burp.api.montoya.websocket
Interface WebSocketTextMessage
-
public interface WebSocketTextMessageThis interface represents a text WebSocket message.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description WebSocketMessageActionaction()static WebSocketTextMessagecontinueWithTextMessage(java.lang.String payload)This is a helper method to build a text WebSocket message to be processed.static WebSocketTextMessagedropTextMessage()This is a helper method to build a text WebSocket message to be dropped.java.lang.Stringpayload()
-
-
-
Method Detail
-
action
WebSocketMessageAction action()
- Returns:
- The action associated with this message.
-
payload
java.lang.String payload()
- Returns:
- The payload of this message.
-
continueWithTextMessage
static WebSocketTextMessage continueWithTextMessage(java.lang.String payload)
This is a helper method to build a text WebSocket message to be processed.- Parameters:
payload- The text message payload.- Returns:
- The message to be processed.
-
dropTextMessage
static WebSocketTextMessage dropTextMessage()
This is a helper method to build a text WebSocket message to be dropped.- Returns:
- The message to be dropped.
-
-