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 java.lang.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  java.net.URL theURL
          The URL the connection is associated with.
 
Constructor Summary
URLConnectionInfo(java.net.URLConnection connection)
          This constructor is used to represent a URLConnection.
 
Method Summary
 java.net.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 java.net.URL theURL
The URL the connection is associated with.

Constructor Detail

URLConnectionInfo

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

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

getURL

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

Returns:

Apache CXF API

Apache CXF