Skip navigation links
A C D E G I L M O R S T U V 

A

ac.simons.oembed - package ac.simons.oembed
 

C

createRequestFor(String, Optional<String>, URI) - Method in class ac.simons.oembed.DefaultRequestProvider
 
createRequestFor(String, Optional<String>, URI) - Method in interface ac.simons.oembed.RequestProvider
Creates an executable http request (GET) for the given url.

D

DefaultRequestProvider - Class in ac.simons.oembed
The default implementation of an oembed provider.
DefaultRequestProvider() - Constructor for class ac.simons.oembed.DefaultRequestProvider
 

E

embedUrls(String, Optional<String>) - Method in class ac.simons.oembed.OembedService
 
embedUrls(String, Optional<String>, Class<? extends T>) - Method in class ac.simons.oembed.OembedService
Scans the text textWithEmbeddableUrls for anchor tags and tries to find OembedEndpoint for those urls.
embedUrls(Document) - Method in class ac.simons.oembed.OembedService
A convenience method to embed urls in an existing document.

G

getAuthorName() - Method in class ac.simons.oembed.OembedResponse
 
getAuthorUrl() - Method in class ac.simons.oembed.OembedResponse
 
getCacheAge() - Method in class ac.simons.oembed.OembedResponse
 
getCacheName() - Method in class ac.simons.oembed.OembedService
 
getDefaultCacheAge() - Method in class ac.simons.oembed.OembedService
 
getEndpoint() - Method in class ac.simons.oembed.OembedEndpoint
 
getFormat() - Method in class ac.simons.oembed.OembedEndpoint
 
getHeight() - Method in class ac.simons.oembed.OembedResponse
 
getHtml() - Method in class ac.simons.oembed.OembedResponse
 
getMaxHeight() - Method in class ac.simons.oembed.OembedEndpoint
 
getMaxWidth() - Method in class ac.simons.oembed.OembedEndpoint
 
getName() - Method in class ac.simons.oembed.OembedEndpoint
 
getOembedResponseFor(String) - Method in class ac.simons.oembed.OembedService
Tries to find an OembedResponse for the URL url.
getParser(OembedResponse.Format) - Method in class ac.simons.oembed.OembedService
Returns an instance of an OembedParser for the given OembedResponse.Format.
getProviderName() - Method in class ac.simons.oembed.OembedResponse
 
getProviderUrl() - Method in class ac.simons.oembed.OembedResponse
 
getRequestProviderClass() - Method in class ac.simons.oembed.OembedEndpoint
 
getRequestProviderProperties() - Method in class ac.simons.oembed.OembedEndpoint
 
getResponseRendererClass() - Method in class ac.simons.oembed.OembedEndpoint
 
getResponseRendererProperties() - Method in class ac.simons.oembed.OembedEndpoint
 
getThumbnailHeight() - Method in class ac.simons.oembed.OembedResponse
 
getThumbnailUrl() - Method in class ac.simons.oembed.OembedResponse
 
getThumbnailWidth() - Method in class ac.simons.oembed.OembedResponse
 
getTitle() - Method in class ac.simons.oembed.OembedResponse
 
getType() - Method in class ac.simons.oembed.OembedResponse
 
getUrl() - Method in class ac.simons.oembed.OembedResponse
 
getUrlSchemes() - Method in class ac.simons.oembed.OembedEndpoint
 
getVersion() - Method in class ac.simons.oembed.OembedResponse
 
getWidth() - Method in class ac.simons.oembed.OembedResponse
 

I

isAutodiscovery() - Method in class ac.simons.oembed.OembedService
 

L

logger - Static variable in class ac.simons.oembed.DefaultRequestProvider
 
logger - Static variable in class ac.simons.oembed.OembedService
 

M

marshal(OembedResponse, OutputStream) - Method in class ac.simons.oembed.OembedJsonParser
 
marshal(OembedResponse, OutputStream) - Method in interface ac.simons.oembed.OembedParser
Marshals the given OembedResponse oembedResponse into the OutputStream out.

O

OembedEndpoint - Class in ac.simons.oembed
This describes an oembed endpoint, with its name, url schemes etc.
OembedEndpoint() - Constructor for class ac.simons.oembed.OembedEndpoint
 
OembedException - Exception in ac.simons.oembed
An exception for wrapping any checked exception that might happens due parsing of responses etc.
OembedException(Throwable) - Constructor for exception ac.simons.oembed.OembedException
 
OembedException(String) - Constructor for exception ac.simons.oembed.OembedException
 
OembedJsonParser - Class in ac.simons.oembed
Provides JSON Parsing for OembedResponses.
OembedJsonParser() - Constructor for class ac.simons.oembed.OembedJsonParser
Creates a new OembedJsonParser.
OembedParser - Interface in ac.simons.oembed
This is 1:1 copy from the interface of the same name from java-oembed except for the checked exceptions.
OembedResponse - Class in ac.simons.oembed
This represents a valid OEmbed response according to the specs from oembed.com.
OembedResponse() - Constructor for class ac.simons.oembed.OembedResponse
 
OembedResponse.Format - Enum in ac.simons.oembed
Constants for supported oembed formats.
OembedResponseRenderer - Interface in ac.simons.oembed
The purpose of this interface is turning OembedResponses into usable chunks of html code.
OembedService - Class in ac.simons.oembed
 
OembedService(HttpClient, CacheManager, List<OembedEndpoint>, String) - Constructor for class ac.simons.oembed.OembedService
Creates a new OembedService.

R

render(OembedResponse, Element) - Method in interface ac.simons.oembed.OembedResponseRenderer
Renderes the OembedResponse response into an html string.
RequestProvider - Interface in ac.simons.oembed
An oembed provider creates Http requests for embeddable urls.

S

setAuthorName(String) - Method in class ac.simons.oembed.OembedResponse
 
setAuthorUrl(String) - Method in class ac.simons.oembed.OembedResponse
 
setAutodiscovery(boolean) - Method in class ac.simons.oembed.OembedService
Updates to configuration of oembed autodiscovery.
setCacheAge(Long) - Method in class ac.simons.oembed.OembedResponse
 
setCacheName(String) - Method in class ac.simons.oembed.OembedService
Changes the name of the cache used.
setDefaultCacheAge(long) - Method in class ac.simons.oembed.OembedService
Changes the default cache age.
setEndpoint(String) - Method in class ac.simons.oembed.OembedEndpoint
Updates the endpoint of this provider.
setFormat(OembedResponse.Format) - Method in class ac.simons.oembed.OembedEndpoint
Updates the format of this endpoint.
setHeight(Integer) - Method in class ac.simons.oembed.OembedResponse
 
setHtml(String) - Method in class ac.simons.oembed.OembedResponse
 
setMaxHeight(Integer) - Method in class ac.simons.oembed.OembedEndpoint
Updates the maximum height requested by this endpoint.
setMaxWidth(Integer) - Method in class ac.simons.oembed.OembedEndpoint
Updates the maximum width requested by this endpoint.
setName(String) - Method in class ac.simons.oembed.OembedEndpoint
Update the name of this provider.
setProviderName(String) - Method in class ac.simons.oembed.OembedResponse
 
setProviderUrl(String) - Method in class ac.simons.oembed.OembedResponse
 
setRequestProviderClass(Class<? extends RequestProvider>) - Method in class ac.simons.oembed.OembedEndpoint
Update the request provider class.
setRequestProviderProperties(Map<String, String>) - Method in class ac.simons.oembed.OembedEndpoint
Update the properties of the request provider instance.
setResponseRendererClass(Class<? extends OembedResponseRenderer>) - Method in class ac.simons.oembed.OembedEndpoint
Update the response renderer class.
setResponseRendererProperties(Map<String, String>) - Method in class ac.simons.oembed.OembedEndpoint
Update the properties of the response renderer instance.
setThumbnailHeight(Integer) - Method in class ac.simons.oembed.OembedResponse
 
setThumbnailUrl(String) - Method in class ac.simons.oembed.OembedResponse
 
setThumbnailWidth(Integer) - Method in class ac.simons.oembed.OembedResponse
 
setTitle(String) - Method in class ac.simons.oembed.OembedResponse
 
setType(String) - Method in class ac.simons.oembed.OembedResponse
 
setUrl(String) - Method in class ac.simons.oembed.OembedResponse
 
setUrlSchemes(List<String>) - Method in class ac.simons.oembed.OembedEndpoint
Updates the list of recognized url schemes.
setVersion(String) - Method in class ac.simons.oembed.OembedResponse
 
setWidth(Integer) - Method in class ac.simons.oembed.OembedResponse
 

T

toApiUrl(String) - Method in class ac.simons.oembed.OembedEndpoint
Creates an URI that can be called to retrieve an oembed response for the url url.

U

unmarshal(InputStream) - Method in class ac.simons.oembed.OembedJsonParser
 
unmarshal(InputStream) - Method in interface ac.simons.oembed.OembedParser
Unmarshals an OembedResponse from the given inputstream

V

valueOf(String) - Static method in enum ac.simons.oembed.OembedResponse.Format
Returns the enum constant of this type with the specified name.
values() - Static method in enum ac.simons.oembed.OembedResponse.Format
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E G I L M O R S T U V 
Skip navigation links

Copyright © 2010–2016 michael-simons.eu. All rights reserved.