public interface OEmbedClient
| Modifier and Type | Method and Description |
|---|---|
String |
getProvider(String url)
Gets a suitable oEmbed provider for the given URL.
|
OEmbedResponse |
getResponse(String url)
Gets the embedding information from the oEmbed provider.
|
boolean |
isUnsafeContext(String url)
Determines whether the provider response HTML is allowed to be displayed in an unsafe context.
|
String getProvider(String url)
url - The URLnull if no provider is foundOEmbedResponse getResponse(String url)
url - The URL to retrieve embedding information fornull otherwiseboolean isUnsafeContext(String url)
url - The URL to retrieve the unsafe context flag fortrue if the provider response HTML is allowed to be displayed in an unsafe context,
false otherwiseCopyright © 2010 - 2020 Adobe. All Rights Reserved