Apache CXF API

org.apache.cxf.transport.http
Class URLConnectionInfo

java.lang.Object
  extended by org.apache.cxf.transport.http.URLConnectionInfo
Direct Known Subclasses:
HttpURLConnectionInfo

public class URLConnectionInfo
extends Object

This class is returned from the URLConnectionFactory to give information that is from the URLConnection that was created by that factory.


Field Summary
protected  URL theURL
          The URL the connection is associated with.
 
Constructor Summary
URLConnectionInfo(URLConnection connection)
          This constructor is used to represent a URLConnection.
 
Method Summary
 URL getURL()
          This field returns the URL associated with the connection in question.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theURL

protected final URL theURL
The URL the connection is associated with.

Constructor Detail

URLConnectionInfo

public URLConnectionInfo(URLConnection connection)
This constructor is used to represent a URLConnection.

Parameters:
connection - The URLConnection that this info object will represent.
Method Detail

getURL

public URL getURL()
This field returns the URL associated with the connection in question.

Returns:

Apache CXF API

Apache CXF