类 DefaultServerRequestBuilder.BodyInputStream
java.lang.Object
java.io.InputStream
jakarta.servlet.ServletInputStream
cn.taketoday.web.handler.function.DefaultServerRequestBuilder.BodyInputStream
- 所有已实现的接口:
Closeable,AutoCloseable
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intvoidclose()booleanbooleanisReady()voidmark(int readlimit) booleanintread()intread(byte[] b) intread(byte[] b, int off, int len) voidreset()voidsetReadListener(ReadListener readListener) longskip(long n) 从类继承的方法 jakarta.servlet.ServletInputStream
readLine从类继承的方法 java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
字段详细资料
-
delegate
-
-
构造器详细资料
-
BodyInputStream
public BodyInputStream(byte[] body)
-
-
方法详细资料
-
isFinished
public boolean isFinished()- 指定者:
isFinished在类中ServletInputStream
-
isReady
public boolean isReady()- 指定者:
isReady在类中ServletInputStream
-
setReadListener
- 指定者:
setReadListener在类中ServletInputStream
-
read
- 指定者:
read在类中InputStream- 抛出:
IOException
-
read
- 覆盖:
read在类中InputStream- 抛出:
IOException
-
read
- 覆盖:
read在类中InputStream- 抛出:
IOException
-
skip
- 覆盖:
skip在类中InputStream- 抛出:
IOException
-
available
- 覆盖:
available在类中InputStream- 抛出:
IOException
-
close
- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 覆盖:
close在类中InputStream- 抛出:
IOException
-
mark
public void mark(int readlimit) - 覆盖:
mark在类中InputStream
-
reset
- 覆盖:
reset在类中InputStream- 抛出:
IOException
-
markSupported
public boolean markSupported()- 覆盖:
markSupported在类中InputStream
-