org.apache.hadoop.lib.wsrs
Class InputStreamEntity
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputStreamEntity
public InputStreamEntity(InputStream is,
long offset,
long len)
InputStreamEntity
public InputStreamEntity(InputStream is)
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.