Package cool.scx.common.http_client
Class ScxHttpClientResponseBody
java.lang.Object
cool.scx.common.io_stream_source.RawInputStreamSource
cool.scx.common.http_client.ScxHttpClientResponseBody
- All Implemented Interfaces:
InputStreamSource,OutputStreamSource
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class cool.scx.common.io_stream_source.RawInputStreamSource
toInputStream, writeToOutputStreamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface cool.scx.common.io_stream_source.OutputStreamSource
toFile
-
Constructor Details
-
ScxHttpClientResponseBody
-
-
Method Details
-
toString
-
toString
- Throws:
IOException
-
toBytes
Description copied from interface:InputStreamSource这样默认会比OutputStreamSource.toBytes()性能更高一些- Specified by:
toBytesin interfaceInputStreamSource- Specified by:
toBytesin interfaceOutputStreamSource- Overrides:
toBytesin classRawInputStreamSource- Returns:
- bytes
- Throws:
IOException- e
-