private static class HTTPUtils.GenericWritable extends Object implements HTTPUtils.Writable
Modifier and Type | Field and Description |
---|---|
private Object |
o |
private ResponseWriter<Object> |
writer |
Constructor and Description |
---|
GenericWritable(Object o,
MediaType ct)
constructor
|
Modifier and Type | Method and Description |
---|---|
MediaType |
getEncodedContentType() |
boolean |
supportsGZip() |
void |
write(OutputStream out,
ResponseProxy responseProxy) |
private final Object o
private ResponseWriter<Object> writer
public boolean supportsGZip()
supportsGZip
in interface HTTPUtils.Writable
public void write(OutputStream out, ResponseProxy responseProxy) throws IOException
write
in interface HTTPUtils.Writable
IOException
public MediaType getEncodedContentType()
getEncodedContentType
in interface HTTPUtils.Writable
Copyright © 2012-2015 52north.org. All Rights Reserved.