Class NativeRequestInputStream
- java.lang.Object
-
- java.io.InputStream
-
- com.avaya.clientservices.network.http.NativeRequestInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class NativeRequestInputStream extends java.io.InputStream
-
-
Constructor Summary
Constructors Constructor Description NativeRequestInputStream(long requestWrapperPtr, com.avaya.clientservices.network.http.IHttpTaskHandler httpTaskHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()longgetSize()intread()intread(byte[] b, int off, int len)intreadNative(byte[] data, int off, int len)
-
-
-
Method Detail
-
read
public int read() throws java.io.IOException- Specified by:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
read
public int read(byte[] b, int off, int len) throws java.io.IOException- Overrides:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
available
public int available() throws java.io.IOException- Overrides:
availablein classjava.io.InputStream- Throws:
java.io.IOException
-
readNative
public int readNative(byte[] data, int off, int len)
-
getSize
public long getSize()
-
-