Interface ExtensionProvidedHttpResponseEditor
- All Superinterfaces:
ExtensionProvidedEditor
Extensions that register an
Burp will then use that instance to create custom tabs within its HTTP response editor.
HttpResponseEditorProvider
must return an instance of this interface.Burp will then use that instance to create custom tabs within its HTTP response editor.
-
Method Summary
Modifier and TypeMethodDescriptioncaption()
boolean
isEnabledFor
(HttpRequestResponse requestResponse) A check to determine if the HTTP message editor is enabled for a specificHttpRequestResponse
boolean
The method should returnnull
if no data has been selected.void
setRequestResponse
(HttpRequestResponse requestResponse) Sets the providedHttpRequestResponse
object within the editor component.
-
Method Details
-
getResponse
HttpResponse getResponse()- Returns:
- An instance of
HttpResponse
derived from the content of the HTTP response editor.
-
setRequestResponse
Sets the providedHttpRequestResponse
object within the editor component.- Specified by:
setRequestResponse
in interfaceExtensionProvidedEditor
- Parameters:
requestResponse
- The request and response to set in the editor.
-
isEnabledFor
A check to determine if the HTTP message editor is enabled for a specificHttpRequestResponse
- Specified by:
isEnabledFor
in interfaceExtensionProvidedEditor
- Parameters:
requestResponse
- TheHttpRequestResponse
to check.- Returns:
- True if the HTTP message editor is enabled for the provided request and response.
-
uiComponent
Component uiComponent()- Specified by:
uiComponent
in interfaceExtensionProvidedEditor
- Returns:
- The component that is rendered within the message editor tab.
-
selectedData
Selection selectedData()The method should returnnull
if no data has been selected.- Specified by:
selectedData
in interfaceExtensionProvidedEditor
- Returns:
- The data that is currently selected by the user.
-
isModified
boolean isModified()- Specified by:
isModified
in interfaceExtensionProvidedEditor
- Returns:
- True if the user has modified the current message within the editor.
-