public static class ThriftArtifactCacheProtocol.Response extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
ThriftArtifactCacheProtocol.Response.ReadPayloadInfo |
| Constructor and Description |
|---|
Response(ThriftProtocol protocol,
InputStream rawStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
com.facebook.buck.artifact_cache.thrift.BuckCacheResponse |
getThriftData() |
ThriftArtifactCacheProtocol.Response.ReadPayloadInfo |
readPayload(OutputStream outStream) |
public Response(ThriftProtocol protocol, InputStream rawStream) throws IOException
IOExceptionpublic com.facebook.buck.artifact_cache.thrift.BuckCacheResponse getThriftData()
public ThriftArtifactCacheProtocol.Response.ReadPayloadInfo readPayload(OutputStream outStream) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOException