Package io.goobi.viewer.servlets.oembed
Class RichOEmbedResponse
java.lang.Object
io.goobi.viewer.servlets.oembed.OEmbedResponse
io.goobi.viewer.servlets.oembed.RichOEmbedResponse
RichOEmbedResponse class.
-
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
ConstructorDescriptionConstructor.RichOEmbedResponse
(OEmbedRecord rec, Integer maxWidth, Integer maxHeight) Constructor. -
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
-
RichOEmbedResponse
Constructor.- Parameters:
rec
- aOEmbedRecord
object.- Throws:
ViewerConfigurationException
- if any.
-
RichOEmbedResponse
public RichOEmbedResponse(OEmbedRecord rec, Integer maxWidth, Integer maxHeight) throws ViewerConfigurationException Constructor.- Parameters:
rec
- aOEmbedRecord
object.maxWidth
- aInteger
objectmaxHeight
- aInteger
object- Throws:
ViewerConfigurationException
- if any.
-
-
Method Details
-
getHtml
Getter for the field
html
.- Returns:
- the html
-
setHtml
Setter for the field
html
.- Parameters:
html
- the html to set
-