/**
 * Copyright 2007-2016, Kaazing Corporation. 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 org.apache.mina.proxy.handlers.http;

/**
 * HttpProxyConstants.java - HTTP Proxy constants.
 * 
 * @author <a href="http://mina.apache.org">Apache MINA Project</a>
 * @since MINA 2.0.0-M3
 */
public class HttpProxyConstants {

    /**
     * The HTTP CONNECT verb.
     */
    public static final String CONNECT = "CONNECT";

    /**
     * The HTTP GET verb.
     */
    public static final String GET = "GET";

    /**
     * The HTTP PUT verb.
     */    
    public static final String PUT = "PUT";

    /**
     * The HTTP 1.0 protocol version string.
     */    
    public static final String HTTP_1_0 = "HTTP/1.0";

    /**
     * The HTTP 1.1 protocol version string.
     */        
    public static final String HTTP_1_1 = "HTTP/1.1";

    /**
     * The CRLF character sequence used in HTTP protocol to end each line.
     */        
    public static final String CRLF = "\r\n";

    /**
     * The default keep-alive timeout we set to make proxy
     * connection persistent. Set to 300 ms.
     */
    public static final String DEFAULT_KEEP_ALIVE_TIME = "300";

    // ProxyRequest properties
    
    /**
     * The username property. Used in auth mechs.
     */
    public static final String USER_PROPERTY = "USER";

    /**
     * The password property. Used in auth mechs.
     */
    public static final String PWD_PROPERTY = "PWD";

    /**
     * The domain name property. Used in auth mechs.
     */
    public static final String DOMAIN_PROPERTY = "DOMAIN";

    /**
     * The workstation name property. Used in auth mechs.
     */
    public static final String WORKSTATION_PROPERTY = "WORKSTATION";
}