Interface OEmbedResponse
Defines the oEmbed HTTP response object. All standard oEmbed response parameters are supported.
- Since:
- com.adobe.cq.wcm.core.components.services.embed 1.0.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumEnumeration of oEmbed response formats.static enumEnumeration of oEmbed response types. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringThe name of the author/owner of the resource.@Nullable StringA URL for the author/owner of the resource.@Nullable LongThe suggested cache lifetime for this resource, in seconds.@Nullable StringThe height in pixels required to display the HTML.@Nullable StringgetHtml()The HTML required to display the resource.@Nullable StringThe name of the resource provider.@Nullable StringThe url of the resource provider.@Nullable StringThe height of the optional thumbnail.@Nullable StringA URL to a thumbnail image representing the resource.@Nullable StringThe width of the optional thumbnail.@Nullable StringgetTitle()A text title, describing the resource.@NotNull StringgetType()The oEmbed type.@Nullable StringgetUrl()The source URL of the image.@NotNull StringThe oEmbed version number.@Nullable StringgetWidth()The width in pixels required to display the HTML.
-
Method Details
-
getType
The oEmbed type.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getVersion
The oEmbed version number.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getTitle
A text title, describing the resource.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getAuthorName
The name of the author/owner of the resource.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getAuthorUrl
A URL for the author/owner of the resource.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getProviderName
The name of the resource provider.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getProviderUrl
The url of the resource provider.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getCacheAge
The suggested cache lifetime for this resource, in seconds.- Returns:
- a
Longobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getThumbnailUrl
A URL to a thumbnail image representing the resource.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getThumbnailWidth
The width of the optional thumbnail.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getThumbnailHeight
The height of the optional thumbnail.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getWidth
The width in pixels required to display the HTML.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getHeight
The height in pixels required to display the HTML.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getHtml
The HTML required to display the resource.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-
getUrl
The source URL of the image.- Returns:
- a
Stringobject - Since:
- com.adobe.cq.wcm.core.components.models.embed 1.0.0
-