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
public class BufferedMessageInputStream
- extends InputStream
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferedMessageInputStream
public BufferedMessageInputStream(InputStream inputStream)
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
read
public int read(byte[] b,
int offset,
int length)
throws IOException
- Overrides:
read in class InputStream
- 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:
close in interface Closeable- Overrides:
close in class InputStream
- Throws:
IOException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.