org.apache.cocoon.environment.internal
Class ForwardEnvironmentWrapper
java.lang.Object
org.apache.cocoon.util.AbstractLogEnabled
org.apache.cocoon.environment.AbstractEnvironment
org.apache.cocoon.environment.wrapper.EnvironmentWrapper
org.apache.cocoon.environment.internal.ForwardEnvironmentWrapper
- All Implemented Interfaces:
- org.apache.cocoon.environment.Environment
- public final class ForwardEnvironmentWrapper
- extends EnvironmentWrapper
Local extension of EnvironmentWrapper to propagate otherwise blocked
methods to the actual environment.
- Since:
- 2.2
- Version:
- $Id: ForwardEnvironmentWrapper.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Fields inherited from class org.apache.cocoon.environment.AbstractEnvironment |
action, objectModel, outputStream, prefix, secureOutputStream, uri, view |
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.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForwardEnvironmentWrapper
public ForwardEnvironmentWrapper(org.apache.cocoon.environment.Environment env,
SitemapSourceInfo info)
setStatus
public void setStatus(int statusCode)
- Description copied from class:
EnvironmentWrapper
- Set the StatusCode
- Specified by:
setStatus
in interface org.apache.cocoon.environment.Environment
- Overrides:
setStatus
in class EnvironmentWrapper
- See Also:
Environment.setStatus(int)
setContentLength
public void setContentLength(int length)
- Specified by:
setContentLength
in interface org.apache.cocoon.environment.Environment
- Overrides:
setContentLength
in class EnvironmentWrapper
- See Also:
Environment.setContentLength(int)
setContentType
public void setContentType(String contentType)
- Description copied from class:
EnvironmentWrapper
- Set the ContentType
- Specified by:
setContentType
in interface org.apache.cocoon.environment.Environment
- Overrides:
setContentType
in class EnvironmentWrapper
- See Also:
Environment.setContentType(java.lang.String)
getContentType
public String getContentType()
- Description copied from class:
EnvironmentWrapper
- Get the ContentType
- Specified by:
getContentType
in interface org.apache.cocoon.environment.Environment
- Overrides:
getContentType
in class EnvironmentWrapper
- See Also:
Environment.getContentType()
isResponseModified
public boolean isResponseModified(long lastModified)
- See Also:
Environment.isResponseModified(long)
setResponseIsNotModified
public void setResponseIsNotModified()
- See Also:
Environment.setResponseIsNotModified()
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.