|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.environment.AbstractEnvironment
org.apache.cocoon.environment.wrapper.EnvironmentWrapper
org.apache.cocoon.environment.internal.ForwardEnvironmentWrapper
Local extension of EnvironmentWrapper to propagate otherwise blocked methods to the actual environment.
Field Summary |
Fields inherited from class org.apache.cocoon.environment.wrapper.EnvironmentWrapper |
contentType, environment, internalRedirect, outputStream, redirectURL, request |
Fields inherited from class org.apache.cocoon.environment.AbstractEnvironment |
action, objectModel, prefix, secureOutputStream, uri, view |
Constructor Summary | |
ForwardEnvironmentWrapper(Environment env,
SitemapSourceInfo info,
Logger logger)
|
Method Summary | |
String |
getContentType()
Get the ContentType |
boolean |
isResponseModified(long lastModified)
Check if the response has been modified since the same "resource" was requested. |
void |
setContentLength(int length)
Set the length of the generated content |
void |
setContentType(String contentType)
Set the ContentType |
void |
setResponseIsNotModified()
Mark the response as not modified. |
void |
setStatus(int statusCode)
Set the StatusCode |
Methods inherited from class org.apache.cocoon.environment.wrapper.EnvironmentWrapper |
commitResponse, getAttribute, getOutputStream, getRedirectURL, isExternal, isInternalRedirect, redirect, removeAttribute, reset, setInternalRedirect, setOutputStream, tryResetResponse |
Methods inherited from class org.apache.cocoon.environment.AbstractEnvironment |
extractAction, extractView, finishingProcessing, getAction, getAttributeNames, getObjectModel, getURI, getURIPrefix, getView, setAction, setAttribute, setURI, setView, startingProcessing |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ForwardEnvironmentWrapper(Environment env, SitemapSourceInfo info, Logger logger)
Method Detail |
public void setStatus(int statusCode)
EnvironmentWrapper
setStatus
in interface Environment
setStatus
in class EnvironmentWrapper
Environment.setStatus(int)
public void setContentLength(int length)
Environment
setContentLength
in interface Environment
setContentLength
in class EnvironmentWrapper
Environment.setContentLength(int)
public void setContentType(String contentType)
EnvironmentWrapper
setContentType
in interface Environment
setContentType
in class EnvironmentWrapper
Environment.setContentType(java.lang.String)
public String getContentType()
EnvironmentWrapper
getContentType
in interface Environment
getContentType
in class EnvironmentWrapper
Environment.getContentType()
public boolean isResponseModified(long lastModified)
Environment
isResponseModified
in interface Environment
isResponseModified
in class AbstractEnvironment
Environment.isResponseModified(long)
public void setResponseIsNotModified()
Environment
setResponseIsNotModified
in interface Environment
setResponseIsNotModified
in class AbstractEnvironment
Environment.setResponseIsNotModified()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |