public interface Inputable extends EntityProvider, Formats, Sampleable
Sampleable)InputTranslatableEntityViewAccessProvider or HttpServletAccessProviderALL_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[] |
getHandledInputFormats()
Defines the input 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 input type WARNING: not including Formats.HTML in the return will stop all redirects to the access providers
and therefore will cause HTML requests for entities to go nowhere |
getSampleEntitygetEntityPrefixString[] getHandledInputFormats()
Formats.HTML in the return will stop all redirects to the access providers
and therefore will cause HTML requests for entities to go nowhereFormats) handled,
use the constants (example: Formats.XML) or feel free to make up your own if you likeCopyright © 2003–2022 Sakai Project. All rights reserved.