org.norther.tammi.spray.media
Interface MediaContentFilter

All Superinterfaces:
Container, ContainerFilter, Filter, TerminationFilter
All Known Subinterfaces:
MediaContentKeyFilter, TemporaryContentKeyFilter
All Known Implementing Classes:
AbstractMediaContentFilter, AbstractMediaContentKeyFilter, DefaultMediaContentFilter, DefaultMediaContentKeyFilter, DefaultTemporaryContentKeyFilter

public interface MediaContentFilter
extends ContainerFilter, TerminationFilter

An interface to filters processing requests referring to media content. Mime type specific resource providers registered to the container resolve media content.

Author:
Ilkka Priha

Method Summary
 void clearFixedPaths()
          Clears all fixed content paths.
 Set fixedKeySet()
          Returns a read-only set of fixed path keys.
 String getFixedPath(String key)
          Gets a fixed content path.
 void removeFixedPath(String key)
          Removes a fixed content path.
 void setFixedPath(String key, String path)
          Sets a fixed content path.
 
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 javax.servlet.Filter
destroy, doFilter, init
 
Methods inherited from interface javax.servlet.Filter
destroy, doFilter, init
 

Method Detail

getFixedPath

String getFixedPath(String key)
Gets a fixed content path.

Parameters:
key - the path key.
Returns:
a fixed content path.

setFixedPath

void setFixedPath(String key,
                  String path)
Sets a fixed content path.

Parameters:
key - the path key.
path - a fixed content path.

removeFixedPath

void removeFixedPath(String key)
Removes a fixed content path.

Parameters:
key - the path key.

clearFixedPaths

void clearFixedPaths()
Clears all fixed content paths.


fixedKeySet

Set fixedKeySet()
Returns a read-only set of fixed path keys.

Returns:
a set of fixed keys.


Copyright © 2004 The Norther Organization. All rights reserved.