|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
M
- the registered provider type.public interface MediaContentFilter<M extends MediaProvider>
An interface to filters processing requests referring to media content. MIME type specific media providers registered to the container resolve media content.
Method Summary | |
---|---|
void |
clearFixedPaths()
Clears all fixed content paths. |
Set<String> |
fixedKeySet()
Returns a read-only set of fixed path keys. |
String |
getFixedPath(String key)
Gets a fixed content path. |
int |
getMaxAge()
Gets the max caching age of content i clients. |
boolean |
isLocalizedContent()
Gets the localized content flag. |
void |
removeFixedPath(String key)
Removes a fixed content path. |
void |
setFixedPath(String key,
String path)
Sets a fixed content path. |
void |
setLocalizedContent(boolean flag)
Sets the localized content flag. |
void |
setMaxAge(int secs)
Sets the max caching age of content in clients. |
Methods inherited from interface org.norther.tammi.core.base.Container |
---|
clear, containsKey, get, getContainerKey, getContainerKey, getContainerKey, getMBean, getMBeanInterface, getMBeanInterface, getObjectName, getObjectNames, getQueryPattern, registryKeySet, registryKeySet, registryKeySet, registryKeySet, registryMap, registrySize, remove, setMBeanInterface, setQueryPattern, setQueryPattern |
Methods inherited from interface org.norther.tammi.spray.media.ContentFilter |
---|
getContentPath |
Methods inherited from interface javax.servlet.Filter |
---|
destroy, doFilter, init |
Method Detail |
---|
boolean isLocalizedContent()
void setLocalizedContent(boolean flag)
flag
- the localized content flag.int getMaxAge()
void setMaxAge(int secs)
secs
- the max age in seconds (-1 = forever).String getFixedPath(String key)
key
- the path key.
void setFixedPath(String key, String path)
key
- the path key.path
- a fixed content path.void removeFixedPath(String key)
key
- the path key.void clearFixedPaths()
Set<String> fixedKeySet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |