org.apache.jmeter.protocol.http.sampler
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
public class HTTPSamplerBaseConverter
- extends TestElementConverter
Class for XStream conversion of HTTPResult
Method Summary |
boolean |
canConvert(Class arg0)
|
static String |
getVersion()
Returns the converter version; used to check for possible
incompatibilities |
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. |
Methods inherited from class com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter |
createCollection, mapper, readItem, writeItem |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPSamplerBaseConverter
public HTTPSamplerBaseConverter(com.thoughtworks.xstream.mapper.Mapper arg0)
getVersion
public static String getVersion()
- Returns the converter version; used to check for possible
incompatibilities
canConvert
public boolean canConvert(Class arg0)
-
- Specified by:
canConvert
in interface com.thoughtworks.xstream.converters.ConverterMatcher
- Overrides:
canConvert
in class TestElementConverter
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 interface com.thoughtworks.xstream.converters.Converter
- Overrides:
unmarshal
in class TestElementConverter
Copyright © 1998-2012 Apache Software Foundation. All Rights Reserved.