org.apache.jmeter.protocol.http.visualizers

## Class RequestViewHTTP

- java.lang.Object
- - org.apache.jmeter.protocol.http.visualizers.RequestViewHTTP

- All Implemented Interfaces:
    RequestView

      public class RequestViewHTTP
      extends java.lang.Object
      implements RequestView

  Specializer panel to view a HTTP request parsed

- - ### Constructor Summary

    Constructors
    Constructor and 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 and Description
    --- | ---
    `void` | `clearData()` Clear all data in panel
    `static java.lang.String` | `decodeQuery(java.lang.String query)` Decode a query string
    `java.lang.String` | `getLabel()` Get the label.
    `javax.swing.JPanel` | `getPanel()` Get the panel
    `static java.util.Map<java.lang.String,java.lang.String[]>` | `getQueryMap(java.lang.String query)`
    `void` | `init()` Init the panel
    `void` | `setSamplerResult(java.lang.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(java.lang.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 java.util.Map<java.lang.String,java.lang.String[]> getQueryMap(java.lang.String query)

      Parameters:
        `query` - query to parse for param and value pairs
      Returns:
        Map params and values

    - #### decodeQuery

          public static java.lang.String decodeQuery(java.lang.String query)

      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

          public javax.swing.JPanel getPanel()

      Description copied from interface: `RequestView`
      Get the panel
      Specified by:
        `getPanel` in interface `RequestView`
      Returns:
        the panel viewer

    - #### getLabel

          public java.lang.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

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