org.norther.tammi.spray.protocol
Interface HttpRelayFilter
- All Superinterfaces:
- Configurable, Filter
- All Known Implementing Classes:
- DefaultHttpRelayFilter
public interface HttpRelayFilter
- extends Filter, Configurable
An interface to filters relaying HTTP protocol requests to remote addresses.
The addresses are specified as properties using the following syntax:
##
# The first part of the URI to relay is specified as the property key and
# the remote address as the property value. The key must be absolute, i.e.
# it must start with a slash and it must not contain other slashes.
# /'uri' = 'address'
/relay = localhost:8080
##
# The default address is specified with the root URI.
# / = 'address'
/ = localhost:8080
##
# The host name can be included in the URI but then it must be included
# in all specified property keys.
# 'host'/'uri' = 'address'
#www.norther.org/relay = localhost:8080
##
# Note that the default address for a specific host must also be specified
# with the root URI.
# 'host'/ = 'address'
#www.norther.org/ = localhost:8080
- Author:
- Ilkka Priha
| Methods inherited from interface org.norther.tammi.core.config.Configurable |
addProperty, addProperty, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, storeProperties |
Copyright © 2004 The Norther Organization. All rights reserved.