public class HttpListenerReader extends TargetConfigReader implements XMLReader
HttpData
object that
contains name of listener, port number and information whether
this listener is secured.
TargetConfigReader.TargetConfigMarker
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_PATH |
private static Logger |
LOGGER
Logger instance for this class.
|
private String |
path |
private Map<String,HttpData> |
result |
CONFIG_PATH, DEFAULT_TARGET, readData
Constructor and Description |
---|
HttpListenerReader(String targetConfigName) |
HttpListenerReader(String path,
String targetConfigName) |
Modifier and Type | Method and Description |
---|---|
List<TreeParser.Path> |
getPathsToListen()
Every implementation needs to provide path objects.
|
Map<String,HttpData> |
getResult() |
void |
readAttributes(String qname,
Attributes attributes) |
endNode, readCData, readChildren
private static final Logger LOGGER
public static final String DEFAULT_PATH
private String path
public HttpListenerReader(String targetConfigName)
public void readAttributes(String qname, Attributes attributes) throws SAXException
readAttributes
in class TreeParser.NodeListener
SAXException
public List<TreeParser.Path> getPathsToListen()
XMLReader
getPathsToListen
in interface XMLReader
Copyright © 2013. All Rights Reserved.