![JAR search and dependency download from the Maven repository](/logo.png)
com.nimbusds.oauth2.sdk.http.ResourceRetriever Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oauth2-oidc-sdk Show documentation
Show all versions of oauth2-oidc-sdk Show documentation
OAuth 2.0 SDK with OpenID Connection extensions for developing
client and server applications.
package com.nimbusds.oauth2.sdk.http;
import java.io.IOException;
import java.net.URL;
/**
* Retriever of resources specified by URL.
*/
@Deprecated
public interface ResourceRetriever {
/**
* Retrieves the resource from the specified HTTP(S) URL.
*
* @param url The URL of the resource. Its scheme must be HTTP or
* HTTPS. Must not be {@code null}.
*
* @return The retrieved resource.
*
* @throws IOException If the HTTP connection to the specified URL
* failed or the resource couldn't be retrieved.
*/
Resource retrieveResource(final URL url)
throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy