public class AuthConnection
extends java.lang.Object
| Constructor and Description |
|---|
AuthConnection(java.net.URLConnection connection,
AuthContext context)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.net.URLConnection |
getConnection()
Returns this object's URLConnection.
|
AuthContext |
getContext()
Returns this objects AuthContext, as used to make the connection.
|
public AuthConnection(java.net.URLConnection connection,
AuthContext context)
connection - URLConnection, not nullcontext - auth context used to open connectionpublic java.net.URLConnection getConnection()
public AuthContext getContext()