public class FiliResponseWriter extends Object implements ResponseWriter
| Constructor and Description |
|---|
FiliResponseWriter(ResponseWriterSelector responseWriterSelector)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(ApiRequest request,
ResponseData responseData,
OutputStream os)
Serializes the ResultSet (pulled from the ResponseData) and any desired metadata and adds it to the specified
output stream.
|
public FiliResponseWriter(ResponseWriterSelector responseWriterSelector)
responseWriterSelector - A strategy for deciding which ResponseWriter to use to serialize the ResultSet.public void write(ApiRequest request, ResponseData responseData, OutputStream os) throws IOException
ResponseWriterwrite in interface ResponseWriterrequest - ApiRequest object with all the associated info in itresponseData - Data object containing all the result informationos - OutputStreamIOException - if a problem is encountered writing to the OutputStreamCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.