Class HTTPSamplerBaseConverter
java.lang.Object
com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
org.apache.jmeter.save.converters.TestElementConverter
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBaseConverter
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter
,com.thoughtworks.xstream.converters.ConverterMatcher
Class for XStream conversion of HTTPResult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canConvert
(Class arg0) static String
Returns the converter version; used to check for possible incompatibilitiesunmarshal
(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context) Override TestElementConverter; convert HTTPSamplerBase to merge the two means of providing file names into a single list.Methods inherited from class org.apache.jmeter.save.converters.TestElementConverter
marshal
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter
createCollection, mapper, readBareItem, readCompleteItem, readItem, writeBareItem, writeCompleteItem, writeItem, writeNullItem
-
Constructor Details
-
HTTPSamplerBaseConverter
public HTTPSamplerBaseConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
-
-
Method Details
-
getVersion
Returns the converter version; used to check for possible incompatibilities- Returns:
- the version of this component
-
canConvert
- Specified by:
canConvert
in interfacecom.thoughtworks.xstream.converters.ConverterMatcher
- Overrides:
canConvert
in classTestElementConverter
-
unmarshal
public Object unmarshal(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context) Override TestElementConverter; convert HTTPSamplerBase to merge the two means of providing file names into a single list.- Specified by:
unmarshal
in interfacecom.thoughtworks.xstream.converters.Converter
- Overrides:
unmarshal
in classTestElementConverter
-