public class AuthConnection extends Object
Constructor and Description |
---|
AuthConnection(URLConnection connection,
AuthContext context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
URLConnection |
getConnection()
Returns this object's URLConnection.
|
AuthContext |
getContext()
Returns this objects AuthContext, as used to make the connection.
|
public AuthConnection(URLConnection connection, AuthContext context)
connection
- URLConnection, not nullcontext
- auth context used to open connectionpublic URLConnection getConnection()
public AuthContext getContext()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.