private static class HTTPUtils.ServiceResponseWritable extends Object implements HTTPUtils.Writable
Modifier and Type | Field and Description |
---|---|
private ServiceResponse |
response |
Constructor and Description |
---|
ServiceResponseWritable(ServiceResponse response) |
Modifier and Type | Method and Description |
---|---|
MediaType |
getEncodedContentType() |
boolean |
supportsGZip() |
void |
write(OutputStream out,
ResponseProxy responseProxy) |
private final ServiceResponse response
ServiceResponseWritable(ServiceResponse response)
public void write(OutputStream out, ResponseProxy responseProxy) throws IOException
write
in interface HTTPUtils.Writable
IOException
public boolean supportsGZip()
supportsGZip
in interface HTTPUtils.Writable
public MediaType getEncodedContentType()
getEncodedContentType
in interface HTTPUtils.Writable
Copyright © 2012-2014 52north.org. All Rights Reserved.