| Package | Description |
|---|---|
| org.aoju.bus.core.io.segment | |
| org.aoju.bus.core.utils | |
| org.aoju.bus.http | |
| org.aoju.bus.http.cache | |
| org.aoju.bus.http.metric.http |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BufferSource
内部保存一个缓冲区,以便调用者可以在没有性能的情况下进行少量读取
它还允许客户端提前读取,在消费之前进行必要的缓冲输入
|
| Modifier and Type | Class and Description |
|---|---|
class |
Buffer
内存中字节的集合.
|
class |
DelegateSource
将调用转发给另一个调用的
Source |
class |
GzipSource
解压读取数据
|
class |
HashSource
计算其提供的全部字节流的散列的源 若要使用,请创建
使用您首选的哈希算法实例 通过读取源文件的所有字节来耗尽源文件
然后调用
HashSource.hash()来计算最终的哈希值 |
class |
InflaterSource
解压从另一个源读取的数据.
|
class |
RealSource |
| Modifier and Type | Field and Description |
|---|---|
Source |
RealSource.source |
| Modifier and Type | Method and Description |
|---|---|
Source |
DelegateSource.delegate() |
Source |
FileSystem.source(File file) |
Source |
Awaits.source(Source source) |
| Modifier and Type | Method and Description |
|---|---|
static HashSource |
HashSource.hmacSha1(Source source,
ByteString key) |
static HashSource |
HashSource.hmacSha256(Source source,
ByteString key) |
static HashSource |
HashSource.md5(Source source) |
static HashSource |
HashSource.sha1(Source source) |
static HashSource |
HashSource.sha256(Source source) |
Source |
Awaits.source(Source source) |
BufferSink |
RealSink.write(Source source,
long byteCount) |
BufferSink |
BufferSink.write(Source source,
long byteCount) |
BufferSink |
Buffer.write(Source source,
long byteCount) |
long |
RealSink.writeAll(Source source) |
long |
BufferSink.writeAll(Source source) |
long |
Buffer.writeAll(Source source) |
| Constructor and Description |
|---|
DelegateSource(Source delegate) |
GzipSource(Source source) |
InflaterSource(Source source,
Inflater inflater) |
RealSource(Source source) |
| Modifier and Type | Method and Description |
|---|---|
static Source |
IoUtils.source(File file) |
static Source |
IoUtils.source(InputStream in) |
static Source |
IoUtils.source(Path path,
OpenOption... options) |
static Source |
IoUtils.source(Socket socket) |
| Modifier and Type | Method and Description |
|---|---|
static BufferSource |
IoUtils.buffer(Source source) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Builder.discard(Source source,
int timeout,
TimeUnit timeUnit) |
static boolean |
Builder.skipAll(Source source,
int duration,
TimeUnit timeUnit) |
| Modifier and Type | Method and Description |
|---|---|
Source |
DiskLruCache.Snapshot.getSource(int index) |
Source |
DiskLruCache.Editor.newSource(int index) |
| Modifier and Type | Method and Description |
|---|---|
Source |
Http2Stream.getSource() |
Source |
Http1Codec.newChunkedSource(UnoUrl url) |
Source |
Http1Codec.newFixedLengthSource(long length) |
Source |
Http1Codec.newUnknownLengthSource() |
Copyright © 2019. All rights reserved.