Package us.abstracta.jmeter.javadsl.http
Enum DslHttpSampler.HttpClientImpl
- java.lang.Object
-
- java.lang.Enum<DslHttpSampler.HttpClientImpl>
-
- us.abstracta.jmeter.javadsl.http.DslHttpSampler.HttpClientImpl
-
- All Implemented Interfaces:
Serializable,Comparable<DslHttpSampler.HttpClientImpl>,EnumParam.EnumPropertyValue
- Enclosing class:
- DslHttpSampler
public static enum DslHttpSampler.HttpClientImpl extends Enum<DslHttpSampler.HttpClientImpl> implements EnumParam.EnumPropertyValue
Specifies an HTTP client implementation to be used by HTTP samplers.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HTTP_CLIENTSpecifies to use the Apache HttpClient implementation.JAVASpecifies to use the Java implementation.
-
Field Summary
Fields Modifier and Type Field Description StringpropertyValue
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringpropertyValue()static DslHttpSampler.HttpClientImplvalueOf(String name)Returns the enum constant of this type with the specified name.static DslHttpSampler.HttpClientImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JAVA
public static final DslHttpSampler.HttpClientImpl JAVA
Specifies to use the Java implementation.
-
HTTP_CLIENT
public static final DslHttpSampler.HttpClientImpl HTTP_CLIENT
Specifies to use the Apache HttpClient implementation. This is the default one and usually the preferred one.
-
-
Field Detail
-
propertyValue
public final String propertyValue
-
-
Method Detail
-
values
public static DslHttpSampler.HttpClientImpl[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DslHttpSampler.HttpClientImpl c : DslHttpSampler.HttpClientImpl.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DslHttpSampler.HttpClientImpl valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
propertyValue
public String propertyValue()
- Specified by:
propertyValuein interfaceEnumParam.EnumPropertyValue
-
-