protected JPanel getProtocolAndMethodPanel() {
// Implementation
if (showImplementation) {
httpImplementation = new JLabeledChoice(JMeterUtils.getResString("http_implementation"), // $NON-NLS-1$
HTTPSamplerFactory.getImplementations());
httpImplementation.addValue("");
}
// PROTOCOL
protocol = new JTextField(4);
JLabel protocolLabel = new JLabel(JMeterUtils.getResString("protocol")); // $NON-NLS-1$
protocolLabel.setLabelFor(protocol);
// CONTENT_ENCODING
contentEncoding = new JTextField(10);
JLabel contentEncodingLabel = new JLabel(JMeterUtils.getResString("content_encoding")); // $NON-NLS-1$
contentEncodingLabel.setLabelFor(contentEncoding);
if (notConfigOnly){
method = new JLabeledChoice(JMeterUtils.getResString("method"), // $NON-NLS-1$
HTTPSamplerBase.getValidMethodsAsArray());
}
JPanel panel = new JPanel(new FlowLayout(FlowLayout.LEFT));