org/sonews/daemon/storage/Headers.java
author chris <chris@marvin>
Wed Jul 01 10:48:22 2009 +0200 (2009-07-01)
changeset 2 1090e2141798
permissions -rw-r--r--
sonews/0.5.1 fixes merged
     1 /*
     2  *   SONEWS News Server
     3  *   see AUTHORS for the list of contributors
     4  *
     5  *   This program is free software: you can redistribute it and/or modify
     6  *   it under the terms of the GNU General Public License as published by
     7  *   the Free Software Foundation, either version 3 of the License, or
     8  *   (at your option) any later version.
     9  *
    10  *   This program is distributed in the hope that it will be useful,
    11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
    12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    13  *   GNU General Public License for more details.
    14  *
    15  *   You should have received a copy of the GNU General Public License
    16  *   along with this program.  If not, see <http://www.gnu.org/licenses/>.
    17  */
    18 
    19 package org.sonews.daemon.storage;
    20 
    21 /**
    22  * Contains header constants. These header keys are no way complete but all
    23  * headers that are relevant for sonews.
    24  * @author Christian Lins
    25  * @since sonews/0.5.0
    26  */
    27 public final class Headers
    28 {
    29 
    30   public static final String BYTES             = "bytes";
    31   public static final String CONTENT_TYPE      = "content-type";
    32   public static final String CONTROL           = "control";
    33   public static final String DATE              = "date";
    34   public static final String FROM              = "from";
    35   public static final String LINES             = "lines";
    36   public static final String MESSAGE_ID        = "message-id";
    37   public static final String NEWSGROUPS        = "newsgroups";
    38   public static final String NNTP_POSTING_DATE = "nntp-posting-date";
    39   public static final String NNTP_POSTING_HOST = "nntp-posting-host";
    40   public static final String PATH              = "path";
    41   public static final String REFERENCES        = "references";
    42   public static final String SUBJECT           = "subject";
    43   public static final String SUPERSEDES        = "subersedes";
    44   public static final String X_COMPLAINTS_TO   = "x-complaints-to";
    45   public static final String X_TRACE           = "x-trace";
    46   public static final String XREF              = "xref";
    47 
    48   private Headers()
    49   {}
    50 
    51 }