|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resolver
An interface to handle name lookups.
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. |
Method Detail |
---|
void getInetAddress(URL url, InetAddressListener listener)
url
- the URL to lookup.listener
- the InetAddressListener to notify when lookup is done.int getConnectPort(int port)
boolean isProxyConnected()
String getProxyAuthString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |