luxor.http.resource
Class CacheResource

java.lang.Object
  |
  +--luxor.http.resource.CacheResource
All Implemented Interfaces:
WebResource

public class CacheResource
extends java.lang.Object
implements WebResource


Constructor Summary
CacheResource(java.lang.String name, java.lang.String content, java.lang.String contentType)
           
 
Method Summary
 byte[] getContent()
           
 long getContentLength()
           
 java.lang.String getContentType()
           
 java.lang.String getHeader()
           
 java.lang.String getName()
           
 int getResponseCode()
           
 java.lang.String getResponseMessage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheResource

public CacheResource(java.lang.String name,
                     java.lang.String content,
                     java.lang.String contentType)
Method Detail

getContent

public byte[] getContent()
Specified by:
getContent in interface WebResource

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface WebResource

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface WebResource

getHeader

public java.lang.String getHeader()
Specified by:
getHeader in interface WebResource

getName

public java.lang.String getName()
Specified by:
getName in interface WebResource

getResponseCode

public int getResponseCode()
Specified by:
getResponseCode in interface WebResource

getResponseMessage

public java.lang.String getResponseMessage()
Specified by:
getResponseMessage in interface WebResource


Copyright 2001, 2002 Gerald Bauer. All Rights Reserved. Hosted by SourceForge Logo