Top Description Fields Constructors Methods
org.apache.tools.ant.util.java15

public Class ProxyDiagnostics

extends Object
Class Inheritance
Imports
java.net.InetAddress, .InetSocketAddress, .Proxy, .ProxySelector, .SocketAddress, .URI, .URISyntaxException, org.apache.tools.ant.BuildException

This class exists to create a string that tells diagnostics about the current state of proxy diagnostics. It does this in its toString operator. Java1.5+ is needed to compile this class; its interface is classic typeless Java.
Since
Ant 1.7

Field Summary

Modifier and TypeField and Description
public static final String
DEFAULT_DESTINATION

https://ant.apache.org/

private URI

Constructor Summary

AccessConstructor and Description
public
ProxyDiagnostics(String
dest to bind to
destination
)

create a diagnostics binding for a specific URI

public
ProxyDiagnostics()

create a proxy diagnostics tool bound to DEFAULT_DESTINATION

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the information.
toString
()

Overrides java.lang.Object.toString.

Get the diagnostics for proxy information.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

DEFAULT_DESTINATIONback to summary
public static final String DEFAULT_DESTINATION

https://ant.apache.org/

destURIback to summary
private URI destURI

Constructor Detail

ProxyDiagnosticsback to summary
public ProxyDiagnostics(String destination)

create a diagnostics binding for a specific URI

Parameters
destination:String

dest to bind to

Exceptions
BuildException:
if the URI is malformed.
ProxyDiagnosticsback to summary
public ProxyDiagnostics()

create a proxy diagnostics tool bound to DEFAULT_DESTINATION

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Get the diagnostics for proxy information.

Returns:String

the information.

Annotations
@Override