Added HttpTunnelAddress.toString()

This commit is contained in:
Trustin Lee 2009-02-17 07:14:23 +00:00
parent a77664bf8f
commit 5281ef6aa7

View File

@ -62,4 +62,9 @@ public class HttpTunnelAddress extends SocketAddress implements Comparable<HttpT
public int compareTo(HttpTunnelAddress o) {
return getUri().toASCIIString().compareTo(o.getUri().toASCIIString());
}
@Override
public String toString() {
return "htun:" + getUri();
}
}