code: public JSONObject toJSON() {
          JSONObject json = new JSONObject();
          try {
              json.put(POST_KEY, params_);
              json.put(POST_PATH_KEY, requestPath_);
          } catch (JSONException e) {
              return null;
          }
          return json;
      }
docs: <p>Gets a {@link JSONObject} corresponding to the {@link ServerRequest} and
  {@link ServerRequest#POST_KEY} as currently configured.</p>
  
  @return A {@link JSONObject} corresponding to the values of {@link ServerRequest} and
  {@link ServerRequest#POST_KEY} as currently configured, or <i>null</i> if
  one or both of those values have not yet been set.