Class HTTPSamplerFactory
-
- All Implemented Interfaces:
public final class HTTPSamplerFactoryFactory to return the appropriate HTTPSampler for use with classes that need an HTTPSampler; also creates the implementations for use with HTTPSamplerProxy.
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringHTTP_SAMPLER_JAVApublic final static StringHTTP_SAMPLER_APACHEpublic final static StringIMPL_HTTP_CLIENT4public final static StringIMPL_HTTP_CLIENT3_1public final static StringIMPL_JAVApublic final static StringDEFAULT_CLASSNAME
-
Method Summary
Modifier and Type Method Description static HTTPSamplerBasenewInstance()Create a new instance of the default sampler static HTTPSamplerBasenewInstance(String alias)Create a new instance of the required sampler type static Array<String>getImplementations()static HTTPAbstractImplgetImplementation(String impl, HTTPSamplerBase base)-
-
Method Detail
-
newInstance
static HTTPSamplerBase newInstance()
Create a new instance of the default sampler
- Returns:
instance of default sampler
-
newInstance
static HTTPSamplerBase newInstance(String alias)
Create a new instance of the required sampler type
- Parameters:
alias- HTTP_SAMPLER or HTTP_SAMPLER_APACHE or IMPL_HTTP_CLIENT3_1 or IMPL_HTTP_CLIENT4- Returns:
the appropriate sampler
-
getImplementations
static Array<String> getImplementations()
-
getImplementation
static HTTPAbstractImpl getImplementation(String impl, HTTPSamplerBase base)
-
-
-
-