public class SamplerCreatorFactory extends Object
SamplerCreator factory| Constructor and Description |
|---|
SamplerCreatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
SamplerCreator |
getSamplerCreator(HttpRequestHdr request,
Map<String,String> pageEncodings,
Map<String,String> formEncodings)
Gets
SamplerCreator for content type, if none is found returns DefaultSamplerCreator |
void |
setCounter(int value)
Set the counter for all available
SamplerCreators. |
public void setCounter(int value)
SamplerCreators.
The only implementation that is currently available, increments the counter before it is used!
value - to initialize the creatorspublic SamplerCreator getSamplerCreator(HttpRequestHdr request, Map<String,String> pageEncodings, Map<String,String> formEncodings)
SamplerCreator for content type, if none is found returns DefaultSamplerCreatorrequest - HttpRequestHdr from which the content type should be usedpageEncodings - Map of pageEncodingsformEncodings - Map of formEncodingsrequest, or DefaultSamplerCreator when none is foundCopyright © 1998-2022 Apache Software Foundation. All Rights Reserved.