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