Interface Proxy
public interface Proxy
Provides access to the functionality of the Proxy tool.
- 
Method Summary
Modifier and TypeMethodDescriptionvoidThis method disables the master interception for Burp Proxy.voidThis method enables the master interception for Burp Proxy.history()This method returns details of all items in the Proxy HTTP history.history(ProxyHistoryFilter filter) This method returns details of items in the Proxy HTTP history based on the filter.booleanRegister a handler which will be notified of requests being processed by the Proxy tool.Register a handler which will be notified of responses being processed by the Proxy tool.Register a handler which will be invoked whenever a WebSocket is being created by the Proxy tool.This method returns details of all items in the Proxy WebSockets history.This method returns details of items in the Proxy WebSockets history based on the filter. 
- 
Method Details
- 
enableIntercept
void enableIntercept()This method enables the master interception for Burp Proxy. - 
disableIntercept
void disableIntercept()This method disables the master interception for Burp Proxy. - 
isInterceptEnabled
boolean isInterceptEnabled()- Returns:
 - True if master interception for Burp Proxy is enabled.
 
 - 
history
List<ProxyHttpRequestResponse> history()This method returns details of all items in the Proxy HTTP history.- Returns:
 - The list of all the 
ProxyHttpRequestResponseitems in the Proxy HTTP history. 
 - 
history
This method returns details of items in the Proxy HTTP history based on the filter.- Parameters:
 filter- An instance ofProxyHistoryFilterthat can be used to filter the items in the Proxy history.- Returns:
 - The list of 
ProxyHttpRequestResponseitems in the Proxy HTTP history that matched the filter. 
 - 
webSocketHistory
List<ProxyWebSocketMessage> webSocketHistory()This method returns details of all items in the Proxy WebSockets history.- Returns:
 - The list of all the 
ProxyWebSocketMessageitems in the Proxy WebSockets history. 
 - 
webSocketHistory
This method returns details of items in the Proxy WebSockets history based on the filter.- Parameters:
 filter- An instance ofProxyWebSocketHistoryFilterthat can be used to filter the items in the Proxy WebSockets history.- Returns:
 - The list of 
ProxyWebSocketMessageitems in the Proxy WebSockets history that matched the filter. 
 - 
registerRequestHandler
Register a handler which will be notified of requests being processed by the Proxy tool. Extensions can perform custom analysis or modification of these messages, and control in-UI message interception.- Parameters:
 handler- An object created by the extension that implements theProxyRequestHandlerinterface.- Returns:
 - The 
Registrationfor the handler. 
 - 
registerResponseHandler
Register a handler which will be notified of responses being processed by the Proxy tool. Extensions can perform custom analysis or modification of these messages, and control in-UI message interception.- Parameters:
 handler- An object created by the extension that implements theProxyResponseHandlerinterface.- Returns:
 - The 
Registrationfor the handler. 
 - 
registerWebSocketCreationHandler
Register a handler which will be invoked whenever a WebSocket is being created by the Proxy tool.- Parameters:
 handler- An object created by the extension that implementsProxyWebSocketCreationHandlerinterface.- Returns:
 - The 
Registrationfor the handler. 
 
 -