public final class RetryableSink extends Objectimplements okio .Sink
| Constructor and Description |
|---|
RetryableSink()
|
RetryableSink(int limit)
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
|
long |
contentLength()
|
void |
flush()
|
okio |
timeout()
|
void |
write(okio
|
void |
writeToSocket(okio
|
public void close()
throws IOException
close in interface
Closeable
close in interface
AutoCloseable
close in interface
okio.Sink
IOException
public void write(okio.Buffer source, long byteCount) throws IOException
write in interface
okio.Sink
IOException
public void flush()
throws IOException
flush in interface
Flushable
flush in interface
okio.Sink
IOException
public okio.Timeout timeout()
public long contentLength()
throws IOException
IOException
public void writeToSocket(okio.Sink socketOut) throws IOException
IOException