public final class RetryableSink extends Object implements okio.Sink
| Constructor and Description |
|---|
RetryableSink() |
RetryableSink(int limit) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
contentLength() |
void |
flush() |
okio.Timeout |
timeout() |
void |
write(okio.Buffer source,
long byteCount) |
void |
writeToSocket(okio.Sink socketOut) |
public RetryableSink(int limit)
public RetryableSink()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface okio.SinkIOExceptionpublic void write(okio.Buffer source,
long byteCount)
throws IOException
write in interface okio.SinkIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in interface okio.SinkIOExceptionpublic okio.Timeout timeout()
timeout in interface okio.Sinkpublic long contentLength()
throws IOException
IOExceptionpublic void writeToSocket(okio.Sink socketOut)
throws IOException
IOExceptionCopyright © 2017. All Rights Reserved.