code: public void setTracePrettyPrint(boolean pretty) {
          if (this.httpClient instanceof DefaultHttpClient) {
              ((DefaultHttpClient)this.httpClient).setTracePrettyPrint(pretty);
          }
          else
              throw new UnsupportedOperationException("Invalid operation for class " + this.httpClient.getClass());
      }
docs: set whether or not to generate "pretty formatted" JSON in trace-logging