Class BaseParser
-
- All Implemented Interfaces:
-
org.apache.jmeter.protocol.http.parser.LinkExtractorParser
public abstract class BaseParser implements LinkExtractorParser
BaseParser is the base class for LinkExtractorParser It is advised to make subclasses reusable across parsing, so BaseParserisReusable returns true by default
-
-
Method Summary
Modifier and Type Method Description static LinkExtractorParser
getParser(String parserClassName)
Factory method of parsers. boolean
isReusable()
Parsers should over-ride this method if the parser class is re-usable, in which case the class will be cached for the next getParser() call. -
-
Method Detail
-
getParser
static LinkExtractorParser getParser(String parserClassName)
Factory method of parsers. Instances might get cached, when isReusable on the newly created instance equals
true
.- Parameters:
parserClassName
- name of the class that should be used to create new parsers
-
isReusable
boolean isReusable()
Parsers should over-ride this method if the parser class is re-usable, in which case the class will be cached for the next getParser() call.
-
-
-
-