luxor.spi
Interface WebResource

All Known Implementing Classes:
CacheResource, DirectoryResource, Error404Resource, Error501Resource, FileResource, InputStreamResource, StringResource

public interface WebResource


Method Summary
 byte[] getContent()
           
 long getContentLength()
           
 java.lang.String getContentType()
           
 java.lang.String getHeader()
           
 java.lang.String getName()
           
 int getResponseCode()
           
 java.lang.String getResponseMessage()
           
 

Method Detail

getName

public java.lang.String getName()

getContent

public byte[] getContent()
                  throws java.io.IOException
java.io.IOException

getContentLength

public long getContentLength()

getContentType

public java.lang.String getContentType()

getHeader

public java.lang.String getHeader()

getResponseMessage

public java.lang.String getResponseMessage()

getResponseCode

public int getResponseCode()


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