001package com.box.sdk.http; 002 003/** 004 * HTTP Content-Type constants. 005 */ 006public final class ContentType { 007 008 /** 009 * It is used when the HTTP request content type is application/json. 010 */ 011 public static final String APPLICATION_JSON = "application/json"; 012 013 /** 014 * It is used when the HTTP request content type is application/octet-stream. 015 */ 016 public static final String APPLICATION_OCTET_STREAM = "application/octet-stream"; 017 018 /** 019 * It is used when the HTTP request content type is application/x-www-form-urlencoded. 020 */ 021 public static final String APPLICATION_FORM_URLENCODED = "application/x-www-form-urlencoded"; 022 023 /** 024 * It is used when the HTTP request content type is application/json-patch+json. 025 */ 026 public static final String APPLICATION_JSON_PATCH = "application/json-patch+json"; 027 028 //Prevents instantiation 029 private ContentType() { 030 } 031}