public class DNS extends Object implements Extension, IEventListener
Modifier and Type | Field and Description |
---|---|
static Parameter<Collection<String>> |
REMOTE_IP |
Constructor and Description |
---|
DNS() |
Modifier and Type | Method and Description |
---|---|
boolean |
event(EventDefinition id,
Event event)
Handle an event.
|
org.apache.http.conn.DnsResolver |
getDnsResolver() |
void |
init(Driver driver,
Properties properties)
Initialize the extension using the given properties.
|
public static final Parameter<Collection<String>> REMOTE_IP
public org.apache.http.conn.DnsResolver getDnsResolver()
public void init(Driver driver, Properties properties)
Extension
Extensions may register to events during the init phase.
public boolean event(EventDefinition id, Event event)
IEventListener
event
in interface IEventListener
Copyright © 2008–2018. All rights reserved.