Interface ExtensionProvidedEditor
- All Known Subinterfaces:
ExtensionProvidedHttpRequestEditor
,ExtensionProvidedHttpResponseEditor
public interface ExtensionProvidedEditor
Provides the shared behaviour between the different extension provided editor types.
-
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
-
setRequestResponse
Sets the providedHttpRequestResponse
object within the editor component.- 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
- Parameters:
requestResponse
- TheHttpRequestResponse
to check.- Returns:
- True if the HTTP message editor is enabled for the provided request and response.
-
uiComponent
Component uiComponent()- Returns:
- The component that is rendered within the message editor tab.
-
selectedData
Selection selectedData()The method should returnnull
if 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.
-