| org.apache.cocoon.environment.commandline.AbstractCommandLineEnvironment org.apache.cocoon.environment.commandline.FileSavingEnvironment
Constructor Summary | |
public | FileSavingEnvironment(String uri, long lastModified, File context, Map attributes, Map parameters, Map headers, Map links, List gatheredLinks, CommandLineContext cliContext, OutputStream stream, Logger log) | public | FileSavingEnvironment(String uri, File context, Map attributes, Map parameters, Map headers, Map links, List gatheredLinks, CommandLineContext cliContext, OutputStream stream, Logger log) |
modified | protected boolean modified(Code) | | |
sourceLastModified | protected long sourceLastModified(Code) | | |
FileSavingEnvironment | public FileSavingEnvironment(String uri, long lastModified, File context, Map attributes, Map parameters, Map headers, Map links, List gatheredLinks, CommandLineContext cliContext, OutputStream stream, Logger log) throws MalformedURLException(Code) | | |
isModified | public boolean isModified()(Code) | | |
isResponseModified | public boolean isResponseModified(long cacheLastModified)(Code) | | Check if the response has been modified since the same
"resource" was requested.
The caller has to test if it is really the same "resource"
which is requested.
true if the response is modified or if theenvironment is not able to test it |
setResponseIsNotModified | public void setResponseIsNotModified()(Code) | | Mark the response as not modified.
|
|
|