Package net.openid.appauth.connectivity
Interface ConnectionBuilder
-
- All Known Implementing Classes:
DefaultConnectionBuilder
public interface ConnectionBuilder
CreatesHttpURLConnection
instances for use in direct interactions with the authorization service, i.e.those not performed via a browser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpURLConnection
openConnection(Uri uri)
Creates a connection to the specified URL.
-
-
-
Method Detail
-
openConnection
@NonNull HttpURLConnection openConnection(@NonNull Uri uri) throws IOException
Creates a connection to the specified URL.- Throws:
IOException
- if an error occurs while attempting to establish the connection.
-
-