com.cloudera.lib.wsrs
Class InputStreamEntity
java.lang.Object
com.cloudera.lib.wsrs.InputStreamEntity
- All Implemented Interfaces:
- javax.ws.rs.core.StreamingOutput
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 © 2012 Cloudera. All Rights Reserved.