Class AutoContinueInputStream
java.lang.Object
java.io.InputStream
cool.scx.http.x.http1.AutoContinueInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
当初次读取的时候 自动响应 Continue-100 响应
todo close 时是否也应该响应 ?
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intread()intread(byte[] b) intread(byte[] b, int off, int len) longtransferTo(OutputStream out) Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes
-
Constructor Details
-
AutoContinueInputStream
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
transferTo
- Overrides:
transferToin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-