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

com.contentful.java.cda.Constants Maven / Gradle / Ivy

package com.contentful.java.cda;

import java.util.Locale;

/**
 * This class holds specific constants, used throughout the sdk, not accessible by mere mortals.
 */
public class Constants {
  /**
   * DO NOT CALL THIS CONSTRUCTOR
   *
   * Calling this constructor will result in an {@link AssertionError},
   * since no instances of this class shall exist.
   */
  private Constants() {
    throw new AssertionError();
  }

  static final Locale LOCALE = Locale.US;

  static final String CHARSET = "UTF-8";

  static final String SCHEME = "https";

  static final String ENDPOINT_PREVIEW = SCHEME + "://preview.contentful.com/";

  static final String ENDPOINT_PROD = SCHEME + "://cdn.contentful.com/";

  static final String PATH_ASSETS = "assets";

  static final String PATH_CONTENT_TYPES = "content_types";

  static final String PATH_ENTRIES = "entries";

  static final String PROPERTIES = "contentful_cda.properties";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy