public static class HttpArtifactCacheBinaryProtocol.FetchResponse extends Object
| Constructor and Description |
|---|
FetchResponse(com.google.common.collect.ImmutableSet<RuleKey> ruleKeys,
com.google.common.collect.ImmutableMap<String,String> metadata,
com.google.common.io.ByteSource payloadSource) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
void |
write(OutputStream responseSink) |
public FetchResponse(com.google.common.collect.ImmutableSet<RuleKey> ruleKeys, com.google.common.collect.ImmutableMap<String,String> metadata, com.google.common.io.ByteSource payloadSource) throws IOException
IOExceptionpublic long getContentLength()
public void write(OutputStream responseSink) throws IOException
IOException