org/sonews/storage/Headers.java
author cli
Wed, 12 Aug 2009 16:38:11 +0200
changeset 8 b62fe6ed39d3
parent 3 2fdc9cc89502
child 12 bb6990c0dd1a
permissions -rw-r--r--
Disable strict parsing of email addresses.
     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 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 REPLY_TO          = "reply-to";
    43   public static final String SENDER            = "sender";
    44   public static final String SUBJECT           = "subject";
    45   public static final String SUPERSEDES        = "subersedes";
    46   public static final String TO                = "to";
    47   public static final String X_COMPLAINTS_TO   = "x-complaints-to";
    48   public static final String X_TRACE           = "x-trace";
    49   public static final String XREF              = "xref";
    50 
    51   private Headers()
    52   {}
    53 
    54 }