Class RequestViewHTTP
java.lang.Object
org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP
- All Implemented Interfaces:
RequestView
Specializer panel to view a HTTP request parsed
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clear all data in panelstatic String
decodeQuery
(String query) Decode a query stringgetLabel()
Get the label.getPanel()
Get the panelgetQueryMap
(String query) void
init()
Init the panelvoid
setSamplerResult
(Object objectResult) Put the result bean to display in panel
-
Constructor Details
-
RequestViewHTTP
public RequestViewHTTP()Pane to view HTTP request sample in view results tree
-
-
Method Details
-
init
public void init()Description copied from interface:RequestView
Init the panel- Specified by:
init
in interfaceRequestView
-
clearData
public void clearData()Description copied from interface:RequestView
Clear all data in panel- Specified by:
clearData
in interfaceRequestView
-
setSamplerResult
Description copied from interface:RequestView
Put the result bean to display in panel- Specified by:
setSamplerResult
in interfaceRequestView
- Parameters:
objectResult
- result to display
-
getQueryMap
- Parameters:
query
- query to parse for param and value pairs- Returns:
- Map params and values
-
decodeQuery
Decode a query string- Parameters:
query
- to decode- Returns:
- the decoded query string, if it can be url-decoded. Otherwise the original query will be returned.
-
getPanel
Description copied from interface:RequestView
Get the panel- Specified by:
getPanel
in interfaceRequestView
- Returns:
- the panel viewer
-
getLabel
Description copied from interface:RequestView
Get the label. Use as name for bottom tab- Specified by:
getLabel
in interfaceRequestView
- Returns:
- the label's panel
-