Package burp.api.montoya.proxy.http
Interface InterceptedHttpMessage
- All Known Subinterfaces:
InterceptedRequest
,InterceptedResponse
public interface InterceptedHttpMessage
HTTP message intercepted by Burp Proxy.
-
Method Summary
Modifier and TypeMethodDescriptionThis method retrieves the IP address for the destination of the intercepted message.This method retrieves the name of the Burp Proxy listener that is processing the intercepted message.int
This method retrieves a unique ID for this request/response.This method retrieves the IP address for the source of the intercepted message.
-
Method Details
-
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
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
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
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.
-