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

com.ibm.watson.developer_cloud.util.HttpHeaders Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
/**
 * Copyright 2015 IBM Corp. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.ibm.watson.developer_cloud.util;

 /**
  * Http constant headers.
  */
 public interface HttpHeaders {
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String ACCEPT = "Accept";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String ACCEPT_CHARSET = "Accept-Charset";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String ACCEPT_ENCODING = "Accept-Encoding";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String ACCEPT_LANGUAGE = "Accept-Language";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String AUTHORIZATION = "Authorization";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String CACHE_CONTROL = "Cache-Control";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String CONTENT_ENCODING = "Content-Encoding";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String CONTENT_LANGUAGE = "Content-Language";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String CONTENT_LENGTH = "Content-Length";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String CONTENT_LOCATION = "Content-Location";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String CONTENT_TYPE = "Content-Type";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String DATE = "Date";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String ETAG = "ETag";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String EXPIRES = "Expires";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String HOST = "Host";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String IF_MATCH = "If-Match";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String IF_MODIFIED_SINCE = "If-Modified-Since";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String IF_NONE_MATCH = "If-None-Match";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String IF_UNMODIFIED_SINCE = "If-Unmodified-Since";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String LAST_MODIFIED = "Last-Modified";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String LOCATION = "Location";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String USER_AGENT = "User-Agent";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String VARY = "Vary";
    
    /**
     * See HTTP/1.1 documentation.
     */
    public static final String WWW_AUTHENTICATE = "WWW-Authenticate";
    
    /**
     * See IETF RFC 2109.
     */
    public static final String COOKIE = "Cookie";
    
    /**
     * See IETF RFC 2109.
     */
    public static final String SET_COOKIE = "Set-Cookie";
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy