org.glassfish.jersey.media.json.internal
Class JsonRootEatingInputStreamFilter
java.lang.Object
java.io.InputStream
org.glassfish.jersey.media.json.internal.FilteringInputStream
org.glassfish.jersey.media.json.internal.JsonRootEatingInputStreamFilter
- All Implemented Interfaces:
- Closeable
public class JsonRootEatingInputStreamFilter
- extends FilteringInputStream
JSON root eating filtering input stream.
- Author:
- Jakub Podlesak
|
Method Summary |
int |
available()
|
protected byte[] |
nextBytes()
Get the next available chunk of bytes. |
JsonRootEatingInputStreamFilter
public JsonRootEatingInputStreamFilter(InputStream inputStream)
throws IOException
- Throws:
IOException
nextBytes
protected byte[] nextBytes()
throws IOException
- Description copied from class:
FilteringInputStream
- Get the next available chunk of bytes.
- Specified by:
nextBytes in class FilteringInputStream
- Returns:
- the next available chunk of bytes.
- Throws:
IOException
available
public int available()
throws IOException
- Overrides:
available in class FilteringInputStream
- Throws:
IOException
Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.