railo.commons.io.res.type.s3
Class TemporaryStreamRequestEntity

java.lang.Object
  extended by railo.commons.io.res.type.s3.TemporaryStreamRequestEntity
All Implemented Interfaces:
org.apache.commons.httpclient.methods.RequestEntity

public class TemporaryStreamRequestEntity
extends Object
implements org.apache.commons.httpclient.methods.RequestEntity


Constructor Summary
TemporaryStreamRequestEntity(TemporaryStream ts)
           
TemporaryStreamRequestEntity(TemporaryStream ts, String contentType)
           
 
Method Summary
 long getContentLength()
           
 String getContentType()
           
 boolean isRepeatable()
           
 void writeRequest(OutputStream os)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemporaryStreamRequestEntity

public TemporaryStreamRequestEntity(TemporaryStream ts)

TemporaryStreamRequestEntity

public TemporaryStreamRequestEntity(TemporaryStream ts,
                                    String contentType)
Method Detail

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface org.apache.commons.httpclient.methods.RequestEntity
See Also:
RequestEntity.getContentLength()

getContentType

public String getContentType()
Specified by:
getContentType in interface org.apache.commons.httpclient.methods.RequestEntity
See Also:
RequestEntity.getContentType()

isRepeatable

public boolean isRepeatable()
Specified by:
isRepeatable in interface org.apache.commons.httpclient.methods.RequestEntity
See Also:
RequestEntity.isRepeatable()

writeRequest

public void writeRequest(OutputStream os)
                  throws IOException
Specified by:
writeRequest in interface org.apache.commons.httpclient.methods.RequestEntity
Throws:
IOException
See Also:
RequestEntity.writeRequest(java.io.OutputStream)


Copyright © 2012 Railo