public class HttpCompression extends Object
| Constructor and Description |
|---|
HttpCompression() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
attemptCompression(com.google.apphosting.base.protos.RuntimePb.UPRequest request,
MutableUpResponse response)
Attempt to compress the HttpResponse, using trusted and untrusted headers
to determine if the client (or GFE) accepts compression for this response.
|
public boolean attemptCompression(com.google.apphosting.base.protos.RuntimePb.UPRequest request,
MutableUpResponse response)
throws IOException
request - response - IOExceptionCopyright © 2022. All rights reserved.