Package org.jboss.resteasy.specimpl
Class AbstractBuiltResponse.InputStreamWrapper<T extends BuiltResponse>
- java.lang.Object
-
- java.io.InputStream
-
- java.io.FilterInputStream
-
- org.jboss.resteasy.specimpl.AbstractBuiltResponse.InputStreamWrapper<T>
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- AbstractBuiltResponse
protected static class AbstractBuiltResponse.InputStreamWrapper<T extends BuiltResponse> extends FilterInputStream
-
-
Field Summary
-
Fields inherited from class java.io.FilterInputStream
in
-
-
Constructor Summary
Constructors Constructor Description InputStreamWrapper(InputStream in, T response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intread()intread(byte[] b)intread(byte[] b, int off, int len)-
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, reset, skip
-
-
-
-
Constructor Detail
-
InputStreamWrapper
public InputStreamWrapper(InputStream in, T response)
-
-
Method Detail
-
read
public int read() throws IOException- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
public int read(byte[] b) throws IOException- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException- Overrides:
readin classFilterInputStream- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-
-