org.apache.hadoop.lib.wsrs
Class InputStreamEntity

java.lang.Object
  extended by org.apache.hadoop.lib.wsrs.InputStreamEntity
All Implemented Interfaces:
javax.ws.rs.core.StreamingOutput

@InterfaceAudience.Private
public class InputStreamEntity
extends Object
implements javax.ws.rs.core.StreamingOutput


Constructor Summary
InputStreamEntity(InputStream is)
           
InputStreamEntity(InputStream is, long offset, long len)
           
 
Method Summary
 void write(OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputStreamEntity

public InputStreamEntity(InputStream is,
                         long offset,
                         long len)

InputStreamEntity

public InputStreamEntity(InputStream is)
Method Detail

write

public void write(OutputStream os)
           throws IOException
Specified by:
write in interface javax.ws.rs.core.StreamingOutput
Throws:
IOException


Copyright © 2014 Apache Software Foundation. All Rights Reserved.