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
IOException
public com.facebook.buck.artifact_cache.thrift.BuckCacheResponse getThriftData()
public ThriftArtifactCacheProtocol.Response.ReadPayloadInfo readPayload(OutputStream outStream) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException