接口的使用
com.lark.oapi.okio.Source
使用Source的程序包
程序包
说明
-
com.lark.oapi.okhttp.internal中Source的使用
参数类型为Source的com.lark.oapi.okhttp.internal中的方法 -
com.lark.oapi.okhttp.internal.cache中Source的使用
-
com.lark.oapi.okhttp.internal.http中Source的使用
-
com.lark.oapi.okhttp.internal.http1中Source的使用
-
com.lark.oapi.okhttp.internal.http2中Source的使用
修饰符和类型方法说明Http2Stream.getSource()Returns a source that reads data from the peer.Http2ExchangeCodec.openResponseBodySource(Response response) -
com.lark.oapi.okhttp.internal.io中Source的使用
-
com.lark.oapi.okio中Source的使用
修饰符和类型接口说明interfaceA source that keeps a buffer internally so that callers can do small reads without a performance penalty.实现Source的com.lark.oapi.okio中的类修饰符和类型类说明final classA collection of bytes in memory.classASourcewhich forwards calls to another.final classA source that uses GZIP to decompress data read from another source.final classA source that computes a hash of the full stream of bytes it has supplied.final classA source that uses DEFLATE to decompress data read from another source.返回Source的com.lark.oapi.okio中的方法修饰符和类型方法说明final SourceForwardingSource.delegate()Sourceto which this instance is delegating.final SourceReturns a new source that delegates tosource, using this to implement timeouts.static SourceReturns a source that reads fromfile.static SourceOkio.source(InputStream in) Returns a source that reads fromin.static SourceReturns a source that reads fromsocket.static SourceOkio.source(Path path, OpenOption... options) Returns a source that reads frompath.final SourcePipe.source()参数类型为Source的com.lark.oapi.okio中的方法修饰符和类型方法说明static BufferedSourceReturns a new source that buffers reads fromsource.static HashingSourceHashingSource.hmacSha1(Source source, ByteString key) Returns a sink that uses the obsolete SHA-1 HMAC algorithm to produce 160-bit hashes.static HashingSourceHashingSource.hmacSha256(Source source, ByteString key) Returns a sink that uses the SHA-256 HMAC algorithm to produce 256-bit hashes.static HashingSourceReturns a sink that uses the obsolete MD5 hash algorithm to produce 128-bit hashes.static HashingSourceReturns a sink that uses the obsolete SHA-1 hash algorithm to produce 160-bit hashes.static HashingSourceReturns a sink that uses the SHA-256 hash algorithm to produce 256-bit hashes.final SourceReturns a new source that delegates tosource, using this to implement timeouts.RemovesbyteCountbytes fromsourceand appends them to this sink.longlongRemoves all bytes fromsourceand appends them to this sink.参数类型为Source的com.lark.oapi.okio中的构造器限定符构造器说明ForwardingSource(Source delegate) GzipSource(Source source) InflaterSource(Source source, Inflater inflater)