Package burp.api.montoya.proxy
Interface ProxyWebSocketFinalInterceptTextMessage
-
public interface ProxyWebSocketFinalInterceptTextMessageExtensions can implement this interface when returning a text message fromProxyWebSocketHandler.handleTextMessageToBeIssued(String, Direction).
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description FinalInterceptActionaction()static ProxyWebSocketFinalInterceptTextMessagecontinueWithTextMessage(java.lang.String payload)This is a helper method to build a text WebSocket message to continue through Burp.static ProxyWebSocketFinalInterceptTextMessagedropTextMessage()This is a helper method to build a text WebSocket message to be dropped.java.lang.Stringpayload()
-
-
-
Method Detail
-
action
FinalInterceptAction action()
- Returns:
- The action associated with this message.
-
payload
java.lang.String payload()
- Returns:
- The payload of this message.
-
continueWithTextMessage
static ProxyWebSocketFinalInterceptTextMessage continueWithTextMessage(java.lang.String payload)
This is a helper method to build a text WebSocket message to continue through Burp.- Parameters:
payload- The text message payload.- Returns:
- The message.
-
dropTextMessage
static ProxyWebSocketFinalInterceptTextMessage dropTextMessage()
This is a helper method to build a text WebSocket message to be dropped.- Returns:
- The message to be dropped.
-
-