Package burp.api.montoya.proxy
Interface InterceptedMessage
-
- All Known Subinterfaces:
InterceptedHttpRequest,InterceptedHttpResponse
public interface InterceptedMessageThis interface represents an instance of an HTTP message intercepted by Burp Proxy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.net.InetAddressdestinationIpAddress()This method retrieves the IP address for the destination of the intercepted message.java.lang.StringlistenerInterface()This method retrieves the name of the Burp Proxy listener that is processing the intercepted message.intmessageId()This method retrieves a unique ID for this request/response.java.net.InetAddresssourceIpAddress()This method retrieves the IP address for the source of the intercepted message.
-
-
-
Method Detail
-
messageId
int messageId()
This method retrieves a unique ID for this request/response.- Returns:
- An identifier that is unique to a single request/response pair. Extensions can use this to correlate details of requests and responses and perform processing on the response message accordingly.
-
listenerInterface
java.lang.String listenerInterface()
This method retrieves the name of the Burp Proxy listener that is processing the intercepted message.- Returns:
- The name of the Burp Proxy listener that is processing the intercepted message. The format is the same as that shown in the Proxy Listeners UI - for example, "127.0.0.1:8080".
-
sourceIpAddress
java.net.InetAddress sourceIpAddress()
This method retrieves the IP address for the source of the intercepted message.- Returns:
- The IP address for the source of the intercepted message.
-
destinationIpAddress
java.net.InetAddress destinationIpAddress()
This method retrieves the IP address for the destination of the intercepted message.- Returns:
- The IP address for the destination of the intercepted message.
-
-