public class FiliResponseWriter extends Object implements ResponseWriter
|Constructor and Description|
|Modifier and Type||Method and Description|
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
request- ApiRequest object with all the associated info in it
responseData- Data object containing all the result information
IOException- if a problem is encountered writing to the OutputStream
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.