Package edu.sc.seis.sod
Class CookieJar
java.lang.Object
edu.sc.seis.sod.CookieJar
- All Implemented Interfaces:
org.apache.velocity.context.Context
CookieJar exists as a way for various subsetters and processors in the
waveform arm to pass information down the chain. It is implemented as a
Velocity Context which allows the cusomization of output status pages through
velocity template files. The Event and Channel are placed in the context with
names "sod_event" and "sod_channel". Created: Thu Dec 13 18:18:48 2001
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionsometime you need an empty cookie jar...CookieJar
(CookieEventPair pair, Map<String, Serializable> stationCookies) CookieJar
(CookieEventPair pair, Map<String, Serializable> stationCookies, Map<String, Serializable> channelCookies) -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(Object key) org.apache.velocity.context.Context
Object[]
getKeys()
getPair()
void
put
(String key, Serializable value)
-
Field Details
-
pair
-
-
Constructor Details
-
CookieJar
public CookieJar()sometime you need an empty cookie jar... -
CookieJar
-
CookieJar
public CookieJar(CookieEventPair pair, Map<String, Serializable> stationCookies, Map<String, Serializable> channelCookies)
-
-
Method Details
-
get
- Specified by:
get
in interfaceorg.apache.velocity.context.Context
-
put
-
getPair
-
getContext
public org.apache.velocity.context.Context getContext() -
containsKey
- Specified by:
containsKey
in interfaceorg.apache.velocity.context.Context
-
getKeys
- Specified by:
getKeys
in interfaceorg.apache.velocity.context.Context
-
put
- Specified by:
put
in interfaceorg.apache.velocity.context.Context
-
remove
- Specified by:
remove
in interfaceorg.apache.velocity.context.Context
-