Class Address


  • public final class Address
    extends Object
    A convenient class for storing URI and URL representation of an address and avoid useless conversions. A proxy for the current address is also lazily resolved and stored; most of the times, that proxy can be used to prevent the HttpURLConnection from computing the proxy when the connection is opened. The class is thread-safe.