public interface Outputable extends EntityProvider, Formats
OutputFormattableEntityViewAccessProvider or HttpServletAccessProvider
NOTE: there is no internal handling of HTML, it will always redirect to the the available access provider
if there is one (if there is not one then the entity will be toStringed)ALL_KNOWN_FORMATS, ATOM, ATOM_EXTENSIONS, ATOM_MIME_TYPE, FORM, FORM_EXTENSIONS, FORM_MIME_TYPE, HTML, HTML_EXTENSIONS, HTML_MIME_TYPE, JSON, JSON_EXTENSIONS, JSON_MIME_TYPE, JSONP, JSONP_EXTENSIONS, JSONP_MIME_TYPE, RSS, RSS_EXTENSIONS, RSS_MIME_TYPE, TXT, TXT_EXTENSIONS, TXT_MIME_TYPE, UTF_8, XML, XML_EXTENSIONS, XML_MIME_TYPE| Modifier and Type | Method and Description |
|---|---|
String[] |
getHandledOutputFormats()
Defines the output format types (extensions) handled by this provider
NOTE: In the case of an entity view the extension which goes on the end of an entity URL (after a ".") indicates the return type WARNING: This combines with the access interface when http requests are being processed, all requests will pass through to the EntityViewAccessProvider
if they are not handled |
getEntityPrefixString[] getHandledOutputFormats()
EntityViewAccessProvider
if they are not handledFormats) handled AccessFormats) Formats.HTML) or feel free to make up your own if you likeCopyright © 2007–2019 Sakai Project. All rights reserved.