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:
- java.io.Closeable
public class BufferedMessageInputStream
- extends java.io.InputStream
Methods inherited from class java.io.InputStream |
available, mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferedMessageInputStream
public BufferedMessageInputStream(java.io.InputStream inputStream)
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] b,
int offset,
int length)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
bufferMessage
public void bufferMessage()
throws java.io.IOException
- Throws:
java.io.IOException
getSourceInputStream
public java.io.InputStream getSourceInputStream()
getBufferedSize
public int getBufferedSize()
isClosed
public boolean isClosed()
isBuffered
public boolean isBuffered()
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.InputStream
- Throws:
java.io.IOException