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

com.qcloud.cos.http.RequestHeaderValue Maven / Gradle / Ivy

There is a newer version: 5.6.238.2
Show newest version
package com.qcloud.cos.http;
/**
 * @author chengwu
 * 封装HTTP请求头中的对应的K-V对中value枚举值类
 */

public class RequestHeaderValue {
    public static class Method {
        public static final String POST = "POST";
        public static final String GET = "GET";
        public static final String PUT = "PUT";
        public static final String DELETE = "DELETE";
    }
    
    public static class ContentType {
        public static final String JSON = "application/json";
        public static final String FORM_DATA = "multipart/form-data";
    }
    
    public static class Accept {
        public static final String ALL = "*/*";
    }
    
    public static class UserAgent {
        public static final String COS_FLAG = "qcloud-java-sdk";
    }
    
    public static class Connection {
        public static final String KEEP_ALIVE = "Keep-Alive";
    }
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy