All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tambapps.http.hyperpoet.util.Constants Maven / Gradle / Ivy

package com.tambapps.http.hyperpoet.util;

public class Constants {

  // HttpPoet constructor params
  public static final String OKHTTP_CLIENT_PARAM = "okHttpClient";
  public static final String URL_PARAM = "url";
  public static final String HEADER_PARAM = "headers";
  public static final String ERROR_RESPONSE_HANDLER_PARAM = "errorResponseHandler";
  public static final String ON_PRE_EXECUTE_PARAM = "onPreExecute";
  public static final String ON_POST_EXECUTE_PARAM = "onPostExecute";
  public static final String ACCEPT_CONTENT_TYPE_PARAM = "acceptContentType";
  public static final String CONTENT_TYPE_PARAM = "contentType";

  // HttpPoet method params
  public static final String BODY_PARAM = "body";
  public static final String COMPOSER_PARAM = "composer";
  public static final String PARSER_PARAM = "parser";
  public static final String QUERY_PARAMS_PARAM = "params";
  public static final String SKIP_HISTORY_PARAM = "skipHistory";

  // printing params
  public static final String PRINT_PARAM = "print";
  public static final String PRINT_REQUEST_BODY_PARAM = "printRequestBody";
  public static final String PRINT_RESPONSE_BODY_PARAM = "printResponseBody";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy