Package com.sun.xml.ws.transport.tcp.io
Class BufferedMessageInputStream
- java.lang.Object
-
- java.io.InputStream
-
- com.sun.xml.ws.transport.tcp.io.BufferedMessageInputStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class BufferedMessageInputStream extends InputStream
- Author:
- Alexey Stashok
-
-
Constructor Summary
Constructors Constructor Description BufferedMessageInputStream(InputStream inputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbufferMessage()voidclose()intgetBufferedSize()InputStreamgetSourceInputStream()booleanisBuffered()booleanisClosed()intread()intread(byte[] b, int offset, int length)-
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Constructor Detail
-
BufferedMessageInputStream
public BufferedMessageInputStream(InputStream inputStream)
-
-
Method Detail
-
read
public int read() throws IOException- Specified by:
readin classInputStream- Throws:
IOException
-
read
public int read(byte[] b, int offset, int length) throws IOException- Overrides:
readin classInputStream- Throws:
IOException
-
bufferMessage
public void bufferMessage() throws IOException- Throws:
IOException
-
getSourceInputStream
public InputStream getSourceInputStream()
-
getBufferedSize
public int getBufferedSize()
-
isClosed
public boolean isClosed()
-
isBuffered
public boolean isBuffered()
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-
-