rachel.http.resource
Class InputStreamResource

java.lang.Object
  |
  +--rachel.http.resource.InputStreamResource
All Implemented Interfaces:
WebResource

public class InputStreamResource
extends java.lang.Object
implements WebResource


Constructor Summary
InputStreamResource(java.lang.String name, java.io.InputStream in)
           
 
Method Summary
 java.lang.String getContentType()
           
 byte[] getData()
           
 java.lang.String getHeader()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputStreamResource

public InputStreamResource(java.lang.String name,
                           java.io.InputStream in)
                    throws java.io.IOException
Method Detail

getContentType

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

getData

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

getHeader

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


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