|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.w3c.jigsaw.ssi.commands.CookieCommand
Cookies access from server side includes. Powerfull thingy !
| Constructor Summary | |
CookieCommand()
|
|
| Method Summary | |
boolean |
acceptCaching()
return true if reply can be cached. |
Reply |
execute(SSIFrame ssiframe,
Request request,
ArrayDictionary parameters,
java.util.Dictionary variables)
Executes this command. |
java.lang.String |
getName()
Returns the name of this command. |
java.lang.String |
getValue(java.util.Dictionary variables,
java.lang.String variable,
Request request)
Returns the (String) value of the given variable. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CookieCommand()
| Method Detail |
public java.lang.String getName()
CommandlookupCommand method in the command registry.)
getName in interface CommandCommandRegistry.lookupCommand(java.lang.String)
public Reply execute(SSIFrame ssiframe,
Request request,
ArrayDictionary parameters,
java.util.Dictionary variables)
CommandIt may handle conditional requests, except that if it replies with a status of HTTP.NOT_MODIFIED, it must still reply with a content (the same content that it would have returned for an inconditional request). This is because further SSI commands down the line may decide thay they have been modified, and then a content must be emitted by SSIFrame.
execute in interface Commandrequest - the original HTTP requestparameters - The parameters for this commandvariables - The global variables for the parse
public java.lang.String getValue(java.util.Dictionary variables,
java.lang.String variable,
Request request)
Command
getValue in interface Commandpublic boolean acceptCaching()
acceptCaching in interface Command
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||