Package burp.api.montoya.proxy
Interface ProxyWebSocketInitialInterceptTextMessage
-
public interface ProxyWebSocketInitialInterceptTextMessageExtensions can implement this interface when returning a text message fromProxyWebSocketHandler.handleTextMessageReceived(String, Direction).
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description InitialInterceptActionaction()static ProxyWebSocketInitialInterceptTextMessagedoNotInterceptTextMessage(java.lang.String payload)This is a helper method to build a text WebSocket message to continue within the Proxy without interception.static ProxyWebSocketInitialInterceptTextMessagedropTextMessage()This is a helper method to build a text WebSocket message to be dropped.static ProxyWebSocketInitialInterceptTextMessageinterceptTextMessage(java.lang.String payload)This is a helper method to build a text WebSocket message to be intercepted within the Proxy.java.lang.Stringpayload()
-
-
-
Method Detail
-
action
InitialInterceptAction action()
- Returns:
- The action associated with this message.
-
payload
java.lang.String payload()
- Returns:
- The payload of this message.
-
interceptTextMessage
static ProxyWebSocketInitialInterceptTextMessage interceptTextMessage(java.lang.String payload)
This is a helper method to build a text WebSocket message to be intercepted within the Proxy.- Parameters:
payload- The text message payload.- Returns:
- The message.
-
doNotInterceptTextMessage
static ProxyWebSocketInitialInterceptTextMessage doNotInterceptTextMessage(java.lang.String payload)
This is a helper method to build a text WebSocket message to continue within the Proxy without interception.- Parameters:
payload- The text message payload.- Returns:
- The message.
-
dropTextMessage
static ProxyWebSocketInitialInterceptTextMessage dropTextMessage()
This is a helper method to build a text WebSocket message to be dropped.- Returns:
- The message to be dropped.
-
-