|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.security.owsproxy.StringReplacementTrigger
public class StringReplacementTrigger
Trigger for replacing string within requests and responses to OGC Web Service packed behind a owsProxy. At the moment replacements are just supported for responses to GetCapabilities requests.
Constructor Summary | |
---|---|
StringReplacementTrigger(java.lang.String replacements,
java.lang.String consideredRequests)
|
Method Summary | |
---|---|
java.lang.Object[] |
doTrigger(java.lang.Object caller,
java.lang.Object... values)
performs the action(s) defined by a concrete trigger. |
java.lang.String |
getName()
returns the name of the trigger |
void |
setName(java.lang.String name)
sets the name of the trigger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringReplacementTrigger(java.lang.String replacements, java.lang.String consideredRequests)
replacements
- list of replacement rules "{key1|value1}{key2|value2} ... {keyX|valueX}"consideredRequests
- comma seperated list of request names to be considerded; e.g.
"WMS:GetFeatureInfo,WMS:GetCapabilities,WFS:GetFeature"Method Detail |
---|
public java.lang.Object[] doTrigger(java.lang.Object caller, java.lang.Object... values)
Trigger
doTrigger
in interface Trigger
caller
- instance of calling classvalues
- values passed from the calling methodpublic java.lang.String getName()
getName
in interface Trigger
public void setName(java.lang.String name)
setName
in interface Trigger
name
- name of the trigger
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org