Package burp
Interface IMessageEditorController
-
public interface IMessageEditorControllerThis interface is used by anIMessageEditorto obtain details about the currently displayed message. Extensions that create instances of Burp's HTTP message editor can optionally provide an implementation ofIMessageEditorController, which the editor will invoke when it requires further information about the current message (for example, to send it to another Burp tool). Extensions that provide custom editor tabs via anIMessageEditorTabFactorywill receive a reference to anIMessageEditorControllerobject for each tab instance they generate, which the tab can invoke if it requires further information about the current message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IHttpServicegetHttpService()This method is used to retrieve the HTTP service for the current message.byte[]getRequest()This method is used to retrieve the HTTP request associated with the current message (which may itself be a response).byte[]getResponse()This method is used to retrieve the HTTP response associated with the current message (which may itself be a request).
-
-
-
Method Detail
-
getHttpService
IHttpService getHttpService()
This method is used to retrieve the HTTP service for the current message.- Returns:
- The HTTP service for the current message.
-
getRequest
byte[] getRequest()
This method is used to retrieve the HTTP request associated with the current message (which may itself be a response).- Returns:
- The HTTP request associated with the current message.
-
getResponse
byte[] getResponse()
This method is used to retrieve the HTTP response associated with the current message (which may itself be a request).- Returns:
- The HTTP response associated with the current message.
-
-