Class SamplerCreatorFactory
java.lang.Object
org.apache.jmeter.protocol.http.proxy.SamplerCreatorFactory
SamplerCreator factory- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetSamplerCreator(HttpRequestHdr request, Map<String, String> pageEncodings, Map<String, String> formEncodings) GetsSamplerCreatorfor content type, if none is found returnsDefaultSamplerCreatorvoidsetCounter(int value) Set the counter for all availableSamplerCreators.
- 
Constructor Details- 
SamplerCreatorFactorypublic SamplerCreatorFactory()
 
- 
- 
Method Details- 
setCounterpublic void setCounter(int value) Set the counter for all availableSamplerCreators.The only implementation that is currently available, increments the counter before it is used! - Parameters:
- value- to initialize the creators
 
- 
getSamplerCreatorpublic SamplerCreator getSamplerCreator(HttpRequestHdr request, Map<String, String> pageEncodings, Map<String, String> formEncodings) GetsSamplerCreatorfor content type, if none is found returnsDefaultSamplerCreator- Parameters:
- request-- HttpRequestHdrfrom which the content type should be used
- pageEncodings- Map of pageEncodings
- formEncodings- Map of formEncodings
- Returns:
- SamplerCreator for the content type of the request, orDefaultSamplerCreatorwhen none is found
 
 
-