Interface HotKeyEvent
- All Superinterfaces:
ComponentEvent,InvocationSource,ToolSource
Provides useful contextual information from events triggered by hot keys
HotKeyHandler.-
Method Summary
Modifier and TypeMethodDescriptionThis method can be used to retrieve details of the currently selected HTTP request/response when the hot key was invoked.This method can be used to retrieve details of the currently selected HTTP request/response pairs when the hot key was invoked.Methods inherited from interface burp.api.montoya.ui.contextmenu.ComponentEvent
inputEventMethods inherited from interface burp.api.montoya.ui.contextmenu.InvocationSource
invocationType, isFromMethods inherited from interface burp.api.montoya.core.ToolSource
isFromTool, toolType
-
Method Details
-
messageEditorRequestResponse
Optional<MessageEditorHttpRequestResponse> messageEditorRequestResponse()This method can be used to retrieve details of the currently selected HTTP request/response when the hot key was invoked.- Returns:
- an
Optionaldescribing the currently selected request response with selection metadata.
-
selectedRequestResponses
List<HttpRequestResponse> selectedRequestResponses()This method can be used to retrieve details of the currently selected HTTP request/response pairs when the hot key was invoked. This will return an empty list if no selection has been made.- Returns:
- A list of request responses that have been selected.
-