|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MediaProvider
An interface to media providers.
| Method Summary | |
|---|---|
String |
getDefaultIndex()
Gets the default index file. |
String |
getMediaKey()
Gets the path finder key for resolving media paths. |
Resource |
getResource(String path,
boolean cached,
ServletRequest request,
ServletResponse response,
FilterChain chain)
Gets the media content resource. |
boolean |
isLocalizedContent()
Gets the localized content flag. |
void |
setDefaultIndex(String index)
Sets the default index file. |
void |
setLocalizedContent(boolean flag)
Sets the localized content flag. |
void |
setMediaKey(String key)
Sets the path finder key for resolving media paths. |
| Method Detail |
|---|
String getMediaKey()
void setMediaKey(String key)
key - the path finder key.String getDefaultIndex()
void setDefaultIndex(String index)
index - a default index file.boolean isLocalizedContent()
void setLocalizedContent(boolean flag)
flag - the localized content flag.
Resource getResource(String path,
boolean cached,
ServletRequest request,
ServletResponse response,
FilterChain chain)
throws IOException,
ConstructionException,
AccessDeniedException
path - the content path.cached - true if caching is enabled, false otherwise.request - the servlet request.response - the servlet response.chain - the filter chain.
IOException - on I/O errors.
ConstructionException - on resource errors.
AccessDeniedException - for access restrictions.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||