| 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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(String replacements,
                                                 String consideredRequests)
 | 
|
| Method Summary | |
|---|---|
 Object[] | 
doTrigger(Object caller,
                   Object... values)
performs the action(s) defined by a concrete trigger.  | 
 String | 
getName()
returns the name of the trigger  | 
 void | 
setName(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(String replacements,
                                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 Object[] doTrigger(Object caller,
                          Object... values)
Trigger
doTrigger in interface Triggercaller - instance of calling classvalues - values passed from the calling methodpublic String getName()
getName in interface Triggerpublic void setName(String name)
setName in interface Triggername - name of the trigger
  | 
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
| 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