|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rabbit.httpio.SimpleResolver
public class SimpleResolver
A simple resolver that uses the dnsjava resolver.
Constructor Summary | |
---|---|
SimpleResolver(NioHandler tr)
|
Method Summary | |
---|---|
int |
getConnectPort(int port)
Get the port to use for connecting to a given port. |
void |
getInetAddress(URL url,
InetAddressListener listener)
Get the InetAddress for a given url. |
String |
getProxyAuthString()
Get the currently set proxy authentication. |
boolean |
isProxyConnected()
Check if the resolver is using a proxy or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleResolver(NioHandler tr)
Method Detail |
---|
public void getInetAddress(URL url, InetAddressListener listener)
Resolver
getInetAddress
in interface Resolver
url
- the URL to lookup.listener
- the InetAddressListener to notify when lookup is done.public int getConnectPort(int port)
Resolver
getConnectPort
in interface Resolver
public boolean isProxyConnected()
Resolver
isProxyConnected
in interface Resolver
public String getProxyAuthString()
Resolver
getProxyAuthString
in interface Resolver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |