Apache JMeter

org.apache.jmeter.protocol.http.visualizers
Class RequestViewHTTP

java.lang.Object
  extended by 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
RequestViewHTTP()
          Pane to view HTTP request sample in view results tree
 
Method Summary
 void clearData()
          Clear all data in panel
static String decodeQuery(String query)
          Decode a query string
 String getLabel()
          Get the label.
 JPanel getPanel()
          Get the panel
static Map<String,String> getQueryMap(String query)
           
 void init()
          Init the panel
 void setSamplerResult(Object objectResult)
          Put the result bean to display in panel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestViewHTTP

public RequestViewHTTP()
Pane to view HTTP request sample in view results tree

Method Detail

init

public void init()
Description copied from interface: RequestView
Init the panel

Specified by:
init in interface RequestView

clearData

public void clearData()
Description copied from interface: RequestView
Clear all data in panel

Specified by:
clearData in interface RequestView

setSamplerResult

public void setSamplerResult(Object objectResult)
Description copied from interface: RequestView
Put the result bean to display in panel

Specified by:
setSamplerResult in interface RequestView
Parameters:
objectResult - result to display

getQueryMap

public static Map<String,String> getQueryMap(String query)
Parameters:
query -
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: RequestView
Get the panel

Specified by:
getPanel in interface RequestView
Returns:
the panel viewer

getLabel

public String getLabel()
Description copied from interface: RequestView
Get the label. Use as name for bottom tab

Specified by:
getLabel in interface RequestView
Returns:
the label's panel

Apache JMeter

Copyright © 1998-2014 Apache Software Foundation. All Rights Reserved.