public class ByteArrayServletInputStreamWrapper
extends javax.servlet.ServletInputStream
Constructor and Description |
---|
ByteArrayServletInputStreamWrapper(java.io.ByteArrayInputStream byteArrayInputStream) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
boolean |
isFinished() |
boolean |
isReady() |
void |
mark(int readLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] bytes) |
int |
read(byte[] bytes,
int offset,
int length) |
int |
readLine(byte[] bytes,
int offset,
int length) |
void |
reset() |
void |
setReadListener(javax.servlet.ReadListener arg0) |
long |
skip(long skip) |
public ByteArrayServletInputStreamWrapper(java.io.ByteArrayInputStream byteArrayInputStream)
public int available()
available
in class java.io.InputStream
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
public void mark(int readLimit)
mark
in class java.io.InputStream
public boolean markSupported()
markSupported
in class java.io.InputStream
public int read()
read
in class java.io.InputStream
public int read(byte[] bytes) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] bytes, int offset, int length)
read
in class java.io.InputStream
public int readLine(byte[] bytes, int offset, int length)
readLine
in class javax.servlet.ServletInputStream
public void reset()
reset
in class java.io.InputStream
public long skip(long skip)
skip
in class java.io.InputStream
public boolean isFinished()
isFinished
in class javax.servlet.ServletInputStream
public boolean isReady()
isReady
in class javax.servlet.ServletInputStream
public void setReadListener(javax.servlet.ReadListener arg0)
setReadListener
in class javax.servlet.ServletInputStream
Copyright © 2001-2018 Jalios SA. All Rights Reserved.