netty5/src/main/java/org/jboss/netty/handler/codec/http/HttpHeaders.java

49 lines
1.7 KiB
Java
Raw Normal View History

2008-11-19 08:22:15 +01:00
/*
* JBoss, Home of Professional Open Source
* Copyright 2005-2008, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.netty.handler.codec.http;
/**
* @author The Netty Project (netty-dev@lists.jboss.org)
* @author Andy Taylor (andy.taylor@jboss.org)
* @version $Rev$, $Date$
2008-11-19 08:22:15 +01:00
*/
public class HttpHeaders {
2009-02-11 07:14:07 +01:00
// TODO: Needs cleanup
2008-11-19 08:22:15 +01:00
public static final String HOST = "Host";
public static final String CONTENT_LENGTH = "Content-Length";
public static final class CONNECTION {
public static final String KEY = "Connection";
public static final String CLOSE = "Close";
public static final String KEEP_ALIVE = "Keep-alive";
}
public static final class TRANSFER_ENCODING {
public static final String KEY = "Transfer-Encoding";
public static final String CHUNKED = "Chunked";
}
}