Interface TextMessageToBeSentAction
public interface TextMessageToBeSentAction
Extensions can implement this interface when returning a text message from
ProxyMessageHandler.handleTextMessageToBeSent(InterceptedTextMessage).-
Method Summary
Modifier and TypeMethodDescriptionaction()static TextMessageToBeSentActioncontinueWith(TextMessage message) Build a text WebSocket message to continue through Burp.static TextMessageToBeSentActioncontinueWith(String payload) Build a text WebSocket message to continue through Burp.static TextMessageToBeSentActiondrop()Build a text WebSocket message to be dropped.payload()
-
Method Details
-
action
MessageToBeSentAction action()- Returns:
- The action associated with this message.
-
payload
String payload()- Returns:
- The payload of this message.
-
continueWith
Build a text WebSocket message to continue through Burp.- Parameters:
payload- The text message payload.- Returns:
- The message.
-
continueWith
Build a text WebSocket message to continue through Burp.- Parameters:
message- The text message.- Returns:
- The message.
-
drop
Build a text WebSocket message to be dropped.- Returns:
- The message to be dropped.
-