Package io.goobi.viewer.servlets.oembed
Class PhotoOEmbedResponse
java.lang.Object
io.goobi.viewer.servlets.oembed.OEmbedResponse
io.goobi.viewer.servlets.oembed.PhotoOEmbedResponse
oEmbed response for photo-type resources, carrying image URL and dimensions.
-
Field Summary
Fields inherited from class io.goobi.viewer.servlets.oembed.OEmbedResponse
authorName, authorUrl, cacheAge, height, providerName, providerUrl, thumbnailHeight, thumbnailUrl, thumbnailWidth, title, type, version, width -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.goobi.viewer.servlets.oembed.OEmbedResponse
getAuthorName, getAuthorUrl, getCacheAge, getHeight, getProviderName, getProviderUrl, getThumbnailHeight, getThumbnailUrl, getThumbnailWidth, getTitle, getType, getVersion, getWidth, setAuthorName, setAuthorUrl, setCacheAge, setHeight, setProviderName, setProviderUrl, setThumbnailHeight, setThumbnailUrl, setThumbnailWidth, setTitle, setType, setVersion, setWidth
-
Constructor Details
-
PhotoOEmbedResponse
Constructor.- Parameters:
rec- aOEmbedRecordobject.- Throws:
ViewerConfigurationException- if any.
-
-
Method Details
-
getUrl
Getter for the fieldurl.- Returns:
- the direct URL to the photo resource
-
setUrl
Setter for the fieldurl.- Parameters:
url- the direct URL to the photo resource
-