Interface ExtensionHttpMessageEditor
-
- All Known Subinterfaces:
ExtensionHttpRequestEditor,ExtensionHttpResponseEditor
public interface ExtensionHttpMessageEditorThis interface provides shared information for theExtensionHttpRequestEditorandExtensionHttpResponseEditorinterfaces
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringcaption()booleanisEnabledFor(HttpRequestResponse requestResponse)A check to determine if the HTTP message editor is enabled for a specificHttpRequestResponsebooleanisModified()SelectionselectedData()The method should returnnullif no data has been selected.voidsetHttpRequestResponse(HttpRequestResponse requestResponse)Sets the providedHttpRequestResponseobject within the editor component.java.awt.ComponentuiComponent()
-
-
-
Method Detail
-
setHttpRequestResponse
void setHttpRequestResponse(HttpRequestResponse requestResponse)
Sets the providedHttpRequestResponseobject within the editor component.- Parameters:
requestResponse- The request and response to set in the editor.
-
isEnabledFor
boolean isEnabledFor(HttpRequestResponse requestResponse)
A check to determine if the HTTP message editor is enabled for a specificHttpRequestResponse- Parameters:
requestResponse- TheHttpRequestResponseto check.- Returns:
- True if the HTTP message editor is enabled for the provided request and response.
-
caption
java.lang.String caption()
- Returns:
- The caption located in the message editor tab header.
-
uiComponent
java.awt.Component uiComponent()
- Returns:
- The component that is rendered within the message editor tab.
-
selectedData
Selection selectedData()
The method should returnnullif no data has been selected.- Returns:
- The data that is currently selected by the user.
-
isModified
boolean isModified()
- Returns:
- True if the user has modified the current message within the editor.
-
-