public class RestSession.ConnectionAwareWeakReference<T>
extends java.lang.ref.WeakReference<T>
| Constructor and Description | 
|---|
ConnectionAwareWeakReference(T pReferent,
                            java.lang.ref.ReferenceQueue<? super T> pReferenceQueue,
                            java.net.HttpURLConnection pConnection)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.net.HttpURLConnection | 
getConnection()
Return the connection associated with this object. 
 | 
void | 
setConnection(java.net.HttpURLConnection pConnection)
Set the connection associated with this object. 
 | 
public java.net.HttpURLConnection getConnection()
public void setConnection(java.net.HttpURLConnection pConnection)
pConnection - The connection to associated with this object.