public class BufferInputStream
extends javax.servlet.ServletInputStream
| Constructor and Description |
|---|
BufferInputStream(io.netty.buffer.ByteBuf buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
io.netty.buffer.ByteBuf |
getByteBuf() |
int |
getIndex() |
boolean |
isFinished() |
boolean |
isReady() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
boolean |
readBoolean() |
byte |
readByte() |
int |
readInt() |
long |
readLong() |
short |
readShort() |
String |
readString() |
void |
reset() |
void |
setReadListener(javax.servlet.ReadListener readListener) |
long |
skip(long len) |
mark, markSupportedpublic long skip(long len)
skip in class InputStreampublic byte readByte()
public int read()
read in class InputStreampublic boolean readBoolean()
public short readShort()
public int readInt()
public long readLong()
public int getIndex()
public String readString()
public int read(byte[] b)
read in class InputStreampublic int read(byte[] b,
int off,
int len)
read in class InputStreampublic int available()
available in class InputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic void reset()
throws IOException
reset in class InputStreamIOExceptionpublic io.netty.buffer.ByteBuf getByteBuf()
public boolean isFinished()
isFinished in class javax.servlet.ServletInputStreampublic boolean isReady()
isReady in class javax.servlet.ServletInputStreampublic void setReadListener(javax.servlet.ReadListener readListener)
setReadListener in class javax.servlet.ServletInputStreamCopyright © 2017–2021 The Apache Software Foundation. All rights reserved.