| java.lang.Object org.apache.jetspeed.portlet.webcontent.WebContentResource
WebContentResource | public class WebContentResource implements Serializable(Code) | | A cached resource object, stored in memory to optimize access to static resources
such as images and style sheets.
author: David Sean Taylor version: $Id: WebContentResource.java 517719 2007-03-13 15:05:48Z ate $ |
WebContentResource | public WebContentResource(String url, byte[] content)(Code) | | Constructor for a cached resource.
Parameters: contentType - The HTTP content type for a cached resource as defined in WebPageHelper, i.e. WebPageHelper.CT_HTML, WebPageHelper.CT_IMAGE.... Parameters: content - The byte array of content this cached. This content can bebinary images, or static text such as scripts and style sheets. |
getContent | public byte[] getContent()(Code) | | Gets the content of this resource in a byte array.
A byte array of the resource's content. |
getLastUrl | public String getLastUrl()(Code) | | Returns the lastUrl. |
setLastUrl | public void setLastUrl(String lastUrl)(Code) | | Parameters: lastUrl - The lastUrl to set. |
setUrl | public void setUrl(String url)(Code) | | Parameters: url - The url to set. |
|
|