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

es.prodevelop.pui9.utils.PuiConstants Maven / Gradle / Ivy

The newest version!
package es.prodevelop.pui9.utils;

/**
 * This class is a utility class with constants that can be used to use these
 * constants instead of create each time new Objects in the application
 * 
 * @author Marc Gil - [email protected]
 */
public class PuiConstants {

	public static final String HEADER_TIMEZONE = "Timezone";
	public static final String HEADER_API_KEY = "X-API-Key";
	public static final String HEADER_SOURCE = "Source";

	public static final String BEARER_PREFIX = "Bearer ";
	public static final String BASIC_PREFIX = "Basic ";

	/**
	 * Integer value for true values
	 */
	public static final Integer TRUE_INT = 1;

	/**
	 * Integer value for false values
	 */
	public static final Integer FALSE_INT = 0;

	/**
	 * String value for true values
	 */
	public static final String TRUE_STRING = "1";

	/**
	 * String value for false values
	 */
	public static final String FALSE_STRING = "0";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy