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:
Closeable

public class BufferedMessageInputStream
extends InputStream

Author:
Alexey Stashok

Constructor Summary
BufferedMessageInputStream(InputStream inputStream)
           
 
Method Summary
 void bufferMessage()
           
 void close()
           
 int getBufferedSize()
           
 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(InputStream inputStream)
Method Detail

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.