com.datastax.stargate.sdk.core.ApiConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stargate-sdk Show documentation
Show all versions of stargate-sdk Show documentation
Connect to Stargate Data Gateway
package com.datastax.stargate.sdk.core;
/**
* Group constants on a dedicated interface.
*
* @author Cedrick LUNVEN (@clunven)
*/
public interface ApiConstants {
/** Headers, Api is usig JSON */
String CONTENT_TYPE_JSON = "application/json";
/** Headers, Api is usig JSON */
String CONTENT_TYPE_GRAPHQL = "application/graphql";
/** Header param. */
String HEADER_ACCEPT = "Accept";
/** Headers param to insert the token. */
String HEADER_CASSANDRA = "X-Cassandra-Token";
/** Headers param to insert the unique identifier for the request. */
String HEADER_REQUEST_ID = "X-Cassandra-Request-Id";
/** Headers param to insert the conte type. */
String HEADER_CONTENT_TYPE = "Content-Type";
/** Headers param to insert the token for devops API. */
String HEADER_AUTHORIZATION = "Authorization";
/** Headers name to insert the user agent identifying the client. */
String HEADER_USER_AGENT = "User-Agent";
/** Headers param to insert the user agent identifying the client. */
String HEADER_REQUESTED_WITH = "X-Requested-With";
/** Value for the requested with. */
String REQUEST_WITH = "AstraJavaSDK " + ApiConstants.class.getPackage().getImplementationVersion();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy