Class AjpSamplerGui

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ClearGui, JMeterGUIComponent, Printable

public class AjpSamplerGui extends HttpTestSampleGui
See Also:
  • Constructor Details

    • AjpSamplerGui

      public AjpSamplerGui()
  • Method Details

    • createTestElement

      public org.apache.jmeter.testelement.TestElement createTestElement()
      Description copied from interface: JMeterGUIComponent
      JMeter test components are separated into a model and a GUI representation. The model holds the data and the GUI displays it. The GUI class is responsible for knowing how to create and initialize with data the model class that it knows how to display, and this method is called when new test elements are created.

      Since 5.6.3, the default implementation is as follows, and subclasses should override JMeterGUIComponent.makeTestElement()

       public TestElement createTestElement() {
           TestElement element = makeTestElement();
           assignDefaultValues(element);
           return el;
       }
       

      Before 5.6.3 the canonical implementation was as follows, however, it is recommended to avoid overriding JMeterGUIComponent.createTestElement() and override JMeterGUIComponent.makeTestElement() instead.

       public TestElement createTestElement() {
           TestElementXYZ el = new TestElementXYZ();
           modifyTestElement(el);
           return el;
       }
       
      Returns:
      the Test Element object that the GUI component represents.
    • getStaticLabel

      public String getStaticLabel()
      Description copied from interface: JMeterGUIComponent
      Get the component's label. This label is used in drop down lists that give the user the option of choosing one type of component in a list of many. It should therefore be a descriptive name for the end user to see. It must be unique to the class. It is also used by Help to find the appropriate location in the documentation. Normally getLabelResource() should be overridden instead of this method; the definition of this method in AbstractJMeterGuiComponent is intended for general use.
      Specified by:
      getStaticLabel in interface JMeterGUIComponent
      Overrides:
      getStaticLabel in class AbstractJMeterGuiComponent
      Returns:
      GUI label for the component.
      See Also:
    • getDocAnchor

      public String getDocAnchor()
      Description copied from class: AbstractJMeterGuiComponent
      Compute Anchor value to find reference in documentation for a particular component
      Specified by:
      getDocAnchor in interface JMeterGUIComponent
      Overrides:
      getDocAnchor in class AbstractJMeterGuiComponent
      Returns:
      String anchor