org.apache.cocoon.components.source.impl
Class CachedSourceResponse

java.lang.Object
  extended by org.apache.cocoon.caching.CachedResponse
      extended by org.apache.cocoon.components.source.impl.CachedSourceResponse
All Implemented Interfaces:
Serializable

public final class CachedSourceResponse
extends CachedResponse

Cached response for caching Source contents and extra meta information.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.cocoon.caching.CachedResponse
contentType, expires, lastModified, response, validityObjects
 
Constructor Summary
CachedSourceResponse(SourceValidity[] validities)
           
 
Method Summary
 byte[] getBinaryResponse()
           
 Serializable getExtra()
           
 byte[] getXMLResponse()
           
 void setBinaryResponse(byte[] binary)
           
 void setExtra(Serializable extra)
           
 void setXMLResponse(byte[] xml)
           
 
Methods inherited from class org.apache.cocoon.caching.CachedResponse
getContentType, getExpires, getLastModified, getResponse, getValidityObjects, setContentType, setExpires, setLastModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedSourceResponse

public CachedSourceResponse(SourceValidity[] validities)
Method Detail

getBinaryResponse

public byte[] getBinaryResponse()

setBinaryResponse

public void setBinaryResponse(byte[] binary)

getXMLResponse

public byte[] getXMLResponse()

setXMLResponse

public void setXMLResponse(byte[] xml)

setExtra

public void setExtra(Serializable extra)

getExtra

public Serializable getExtra()


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.