|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.protocol.http.sampler.HTTPSamplerFactory
public final class HTTPSamplerFactory
Factory to return the appropriate HTTPSampler for use with classes that need an HTTPSampler; also creates the implementations for use with HTTPSamplerProxy.
Field Summary | |
---|---|
static String |
DEFAULT_CLASSNAME
|
static String |
HTTP_SAMPLER_APACHE
Use Apache HTTPClient HTTP implementation |
static String |
HTTP_SAMPLER_JAVA
Use the the default Java HTTP implementation |
static String |
IMPL_HTTP_CLIENT3_1
|
static String |
IMPL_HTTP_CLIENT4
|
static String |
IMPL_JAVA
|
Method Summary | |
---|---|
static HTTPAbstractImpl |
getImplementation(String impl,
HTTPSamplerBase base)
|
static String[] |
getImplementations()
|
static HTTPSamplerBase |
newInstance()
Create a new instance of the default sampler |
static HTTPSamplerBase |
newInstance(String alias)
Create a new instance of the required sampler type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String HTTP_SAMPLER_JAVA
public static final String HTTP_SAMPLER_APACHE
public static final String IMPL_HTTP_CLIENT4
public static final String IMPL_HTTP_CLIENT3_1
public static final String IMPL_JAVA
public static final String DEFAULT_CLASSNAME
Method Detail |
---|
public static HTTPSamplerBase newInstance()
public static HTTPSamplerBase newInstance(String alias)
alias
- HTTP_SAMPLER or HTTP_SAMPLER_APACHE or IMPL_HTTP_CLIENT3_1 or IMPL_HTTP_CLIENT4
UnsupportedOperationException
- if alias is not recognisedpublic static String[] getImplementations()
public static HTTPAbstractImpl getImplementation(String impl, HTTPSamplerBase base)
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |