org.norther.tammi.spray.media
Interface TemporaryContentKeyFilter
- All Superinterfaces:
- Container, ContainerFilter, Filter, KeyFilter, MediaContentFilter, TerminationFilter
- All Known Implementing Classes:
- DefaultTemporaryContentKeyFilter
public interface TemporaryContentKeyFilter
- extends MediaContentFilter, KeyFilter
An interface to filters processing requests where a specific parameter key
value refers to temporary content deleted after response.
This interface can't extend the MediaContentKeyFilter to allow inclusion of
both of them into the same pipe.
- Author:
- Ilkka Priha
| 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 |
getTemporaryExpirationTime
int getTemporaryExpirationTime()
- Gets the temporary expiration time in seconds.
- Returns:
- the secs.
setTemporaryExpirationTime
void setTemporaryExpirationTime(int t)
- Sets the temporary expiration time in seconds.
- Parameters:
t - the secs.
setTemporaryContent
void setTemporaryContent(String path,
byte[] content)
- Sets temporary content to this filter.
- Parameters:
path - the content path.content - the content.
Copyright © 2004 The Norther Organization. All rights reserved.