Class RequestViewHTTP
- java.lang.Object
-
- org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP
-
- All Implemented Interfaces:
RequestView
public class RequestViewHTTP extends Object implements RequestView
Specializer panel to view a HTTP request parsed
-
-
Constructor Summary
Constructors Constructor Description RequestViewHTTP()Pane to view HTTP request sample in view results tree
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearData()Clear all data in panelstatic StringdecodeQuery(String query)Decode a query stringStringgetLabel()Get the label.JPanelgetPanel()Get the panelstatic Map<String,String>getQueryMap(String query)voidinit()Init the panelvoidsetSamplerResult(Object objectResult)Put the result bean to display in panel
-
-
-
Method Detail
-
init
public void init()
Description copied from interface:RequestViewInit the panel- Specified by:
initin interfaceRequestView
-
clearData
public void clearData()
Description copied from interface:RequestViewClear all data in panel- Specified by:
clearDatain interfaceRequestView
-
setSamplerResult
public void setSamplerResult(Object objectResult)
Description copied from interface:RequestViewPut the result bean to display in panel- Specified by:
setSamplerResultin interfaceRequestView- Parameters:
objectResult- result to display
-
getQueryMap
public static Map<String,String> getQueryMap(String query)
- Parameters:
query- query to parse for param and value pairs- Returns:
- Map params and Svalue
-
decodeQuery
public static String decodeQuery(String query)
Decode a query string- Parameters:
query- to decode- Returns:
- a decode query string
-
getPanel
public JPanel getPanel()
Description copied from interface:RequestViewGet the panel- Specified by:
getPanelin interfaceRequestView- Returns:
- the panel viewer
-
getLabel
public String getLabel()
Description copied from interface:RequestViewGet the label. Use as name for bottom tab- Specified by:
getLabelin interfaceRequestView- Returns:
- the label's panel
-
-