org.norther.tammi.spray.media
Interface CGIBinFilter

All Superinterfaces:
Filter, TerminationFilter
All Known Implementing Classes:
DefaultCGIBinFilter

public interface CGIBinFilter
extends TerminationFilter

An interface to filters processing CGI requests where the path info of the request points to a static file.

Author:
Ilkka Priha

Field Summary
static String DEFAULT_INDEX
          The default index.
 
Method Summary
 String getContentKey()
          Gets the path finder key for resolving content paths.
 String getDefaultIndex()
          Gets the default index file of the filter.
 String getProgramKey()
          Gets the path finder key for resolving program paths.
 void setContentKey(String key)
          Sets the path finder key for resolving content paths.
 void setDefaultIndex(String index)
          Sets the default index file of the filter.
 void setProgramKey(String key)
          Sets the path finder key for resolving program paths.
 
Methods inherited from interface javax.servlet.Filter
destroy, doFilter, init
 

Field Detail

DEFAULT_INDEX

static final String DEFAULT_INDEX
The default index.

See Also:
Constant Field Values
Method Detail

getDefaultIndex

String getDefaultIndex()
Gets the default index file of the filter.

Returns:
the default index file.

setDefaultIndex

void setDefaultIndex(String index)
Sets the default index file of the filter.

Parameters:
index - a default index file.

getProgramKey

String getProgramKey()
Gets the path finder key for resolving program paths.

Returns:
the path finder key.

setProgramKey

void setProgramKey(String key)
Sets the path finder key for resolving program paths. The default key is PathFinderMBean.CGI_BIN.

Parameters:
key - the path finder key.

getContentKey

String getContentKey()
Gets the path finder key for resolving content paths.

Returns:
the path finder key.

setContentKey

void setContentKey(String key)
Sets the path finder key for resolving content paths.

Parameters:
key - the path finder key.


Copyright © 2004 The Norther Organization. All rights reserved.