public class RenderAsJsonRenderer extends Object
| Constructor and Description |
|---|
RenderAsJsonRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e)
Display the response as text or as rendered HTML.
|
void |
clearData() |
protected void |
executeTester(String textToParse)
Launch JSON path engine to parse a input text
|
protected String |
getExpression() |
protected JLabeledTextField |
getExpressionField() |
protected String |
getExpressionLabel() |
protected JSyntaxTextArea |
getJsonDataField() |
protected JPanel |
getJsonWithExtractorPanel() |
protected JTextArea |
getResultField() |
protected JTabbedPane |
getRightSide() |
protected String |
getTabLabel() |
protected String |
getTestButtonLabel() |
void |
init() |
protected String |
process(String textToParse) |
void |
renderImage(SampleResult sampleResult) |
void |
renderResult(SampleResult sampleResult) |
void |
setBackgroundColor(Color backGround) |
void |
setLastSelectedTab(int index) |
void |
setRightSide(JTabbedPane side) |
void |
setSamplerResult(Object userObject) |
void |
setupTabPane() |
String |
toString() |
protected static final String NO_MATCH
protected String getTabLabel()
protected String getTestButtonLabel()
protected String getExpressionLabel()
protected String process(String textToParse)
textToParse - String of the response to processpublic String toString()
toString in interface ResultRenderertoString in class Objectpublic void clearData()
clearData in interface ResultRendererpublic void init()
init in interface ResultRendererpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - the ActionEvent being processedprotected void executeTester(String textToParse)
textToParse - the text that will be parsedprotected String getExpression()
public void renderResult(SampleResult sampleResult)
renderResult in interface ResultRendererpublic void setupTabPane()
setupTabPane in interface ResultRendererpublic void setRightSide(JTabbedPane side)
setRightSide in interface ResultRendererpublic void setSamplerResult(Object userObject)
setSamplerResult in interface ResultRendererpublic void setLastSelectedTab(int index)
setLastSelectedTab in interface ResultRendererpublic void renderImage(SampleResult sampleResult)
renderImage in interface ResultRendererpublic void setBackgroundColor(Color backGround)
setBackgroundColor in interface ResultRendererprotected JTabbedPane getRightSide()
protected JPanel getJsonWithExtractorPanel()
protected JSyntaxTextArea getJsonDataField()
protected JLabeledTextField getExpressionField()
protected JTextArea getResultField()
Copyright © 1998-2022 Apache Software Foundation. All Rights Reserved.