org/sonews/storage/Headers.java
author cli
Tue Apr 27 21:51:12 2010 +0200 (2010-04-27)
changeset 26 407c428adb5b
parent 3 2fdc9cc89502
permissions -rw-r--r--
Introduce more advanced help system (#565).
     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.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 LIST_POST         = "list-post";
    37   public static final String MESSAGE_ID        = "message-id";
    38   public static final String NEWSGROUPS        = "newsgroups";
    39   public static final String NNTP_POSTING_DATE = "nntp-posting-date";
    40   public static final String NNTP_POSTING_HOST = "nntp-posting-host";
    41   public static final String PATH              = "path";
    42   public static final String REFERENCES        = "references";
    43   public static final String REPLY_TO          = "reply-to";
    44   public static final String SENDER            = "sender";
    45   public static final String SUBJECT           = "subject";
    46   public static final String SUPERSEDES        = "subersedes";
    47   public static final String TO                = "to";
    48   public static final String X_COMPLAINTS_TO   = "x-complaints-to";
    49   public static final String X_LIST_POST       = "x-list-post";
    50   public static final String X_TRACE           = "x-trace";
    51   public static final String XREF              = "xref";
    52 
    53   private Headers()
    54   {}
    55 
    56 }