com.sun.xml.ws.transport.tcp.io
Class BufferedMessageInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by com.sun.xml.ws.transport.tcp.io.BufferedMessageInputStream
All Implemented Interfaces:
java.io.Closeable

public class BufferedMessageInputStream
extends java.io.InputStream


Constructor Summary
BufferedMessageInputStream(java.io.InputStream inputStream)
           
 
Method Summary
 void bufferMessage()
           
 void close()
           
 int getBufferedSize()
           
 java.io.InputStream getSourceInputStream()
           
 boolean isBuffered()
           
 boolean isClosed()
           
 int read()
           
 int read(byte[] b, int offset, int length)
           
 
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
 

Constructor Detail

BufferedMessageInputStream

public BufferedMessageInputStream(java.io.InputStream inputStream)
Method Detail

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