luxor.http.resource
Class StringResource

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

public class StringResource
extends java.lang.Object
implements WebResource


Constructor Summary
StringResource(java.lang.String name, java.lang.String html)
           
 
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

StringResource

public StringResource(java.lang.String name,
                      java.lang.String html)
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