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 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 okio.Sink
IOException
public okio.Timeout timeout()
timeout
in interface okio.Sink
public long contentLength() throws IOException
IOException
public void writeToSocket(okio.Sink socketOut) throws IOException
IOException
Copyright © 2015. All rights reserved.