com.sun.jersey.json.impl
Class JsonRootEatingInputStreamFilter

java.lang.Object
  extended by java.io.InputStream
      extended by com.sun.jersey.json.impl.FilteringInputStream
          extended by com.sun.jersey.json.impl.JsonRootEatingInputStreamFilter
All Implemented Interfaces:
java.io.Closeable

public class JsonRootEatingInputStreamFilter
extends FilteringInputStream

Author:
Jakub.Podlesak@Sun.COM

Constructor Summary
JsonRootEatingInputStreamFilter(java.io.InputStream inputStream)
           
 
Method Summary
 int available()
           
protected  byte[] nextBytes()
           
 
Methods inherited from class com.sun.jersey.json.impl.FilteringInputStream
mark, markSupported, read, read, read, reset, skip, toString
 
Methods inherited from class java.io.InputStream
close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JsonRootEatingInputStreamFilter

public JsonRootEatingInputStreamFilter(java.io.InputStream inputStream)
                                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

nextBytes

protected byte[] nextBytes()
                    throws java.io.IOException
Specified by:
nextBytes in class FilteringInputStream
Throws:
java.io.IOException

available

public int available()
              throws java.io.IOException
Overrides:
available in class FilteringInputStream
Throws:
java.io.IOException


Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.