public class SamplerCreatorFactory extends Object
SamplerCreator
factoryConstructor 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
SamplerCreator s. |
public void setCounter(int value)
SamplerCreator
s.
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 DefaultSamplerCreator
request
- HttpRequestHdr
from which the content type should be usedpageEncodings
- Map of pageEncodingsformEncodings
- Map of formEncodingsrequest
, or DefaultSamplerCreator
when none is foundCopyright (c) 1998-2021 Apache Software Foundation. All Rights Reserved.