src/main/java/net/socialgamer/cah/servlets/CahServlet.java
/**
   * Return multiple response data to the client.
   *
   * @param writer    Writer for the response.
   * @param data_list List of key-value data to return as the response.
   */
Return multiple response data to the client.
@param writer    Writer for the response.
@param data_list List of key-value data to return as the response.
Return multiple response data to the client . @param writer Writer for the response . @param data_list List of key - value data to return as the response .
protected void returnArray(final PrintWriter writer, final List<Map<ReturnableData, Object>> data_list) {
    JSONArray array = new JSONArray();
    for (Map<ReturnableData, Object> data : data_list)
      array.put(createObject(data));
    returnObject(writer, array);
  }
protected void returnArray ( final PrintWriter writer , final List < Map < ReturnableData , Object > > data_list ) { JSONArray array = new JSONArray ( ) ; for ( Map < ReturnableData , Object > data : data_list ) array . put ( createObject ( data ) ) ; returnObject ( writer , array ) ; }
Return multiple response data to the client.
Return multiple response data to the client .