NNTP status response codes.
ARTICLE_FOLLOWS
public static final short ARTICLE_FOLLOWS
Indicates that the article has been retrieved.
The head and body of the article follow.
- 220
ARTICLE_NOT_WANTED
public static final short ARTICLE_NOT_WANTED
Indicates that the server does not want the specified article.
The client should not send the article.
- 435
ARTICLE_NOT_WANTED_VIA_TAKETHIS
public static final short ARTICLE_NOT_WANTED_VIA_TAKETHIS
Indicates that the server already has the specified article, and
therefore doesn't want it sent using TAKETHIS.
- 438
ARTICLE_POSTED
public static final short ARTICLE_POSTED
Indicates that the article was successfully posted.
- 240
ARTICLE_REJECTED
public static final short ARTICLE_REJECTED
Indicates that the specified article was rejected.
The client should not attempt to send the article again.
- 437
ARTICLE_RETRIEVED
public static final short ARTICLE_RETRIEVED
Indicates that the article has been retrieved.
The text of the article must be requested separately.
- 223
ARTICLE_TRANSFERRED
public static final short ARTICLE_TRANSFERRED
Indicates that the article was correctly transferred.
- 235
ARTICLE_TRANSFERRED_OK
public static final short ARTICLE_TRANSFERRED_OK
Indicates that the server accepted the article transferred by a
TAKETHIS command.
- 239
ARTICLE_TRANSFER_FAILED
public static final short ARTICLE_TRANSFER_FAILED
Indicates that an article transferred by a TAKETHIS command failed.
- 439
AUTHINFO_OK
public static final short AUTHINFO_OK
Indicates that AUTHINFO authentication was successful.
- 281
AUTHINFO_REJECTED
public static final short AUTHINFO_REJECTED
Indicates the the authentication information supplied was not accepted
by the server.
- 482
AUTHINFO_SIMPLE_DENIED
public static final short AUTHINFO_SIMPLE_DENIED
Indicates an authentication failure using AUTHINFO SIMPLE.
- 452
AUTHINFO_SIMPLE_OK
public static final short AUTHINFO_SIMPLE_OK
Indicates success of an AUTHINFO SIMPLE transaction.
- 350
AUTHINFO_SIMPLE_REQUIRED
public static final short AUTHINFO_SIMPLE_REQUIRED
Indicates that authentication via the AUTHINFO SIMPLE strategy is
required.
- 450
BODY_FOLLOWS
public static final short BODY_FOLLOWS
Indicates that the article has been retrieved.
The body of the article follows.
- 222
CLOSING_CONNECTION
public static final short CLOSING_CONNECTION
Indicates that the server is closing the connection.
- 205
COMMAND_NOT_RECOGNIZED
public static final short COMMAND_NOT_RECOGNIZED
Indicates that the command sent by the client was not understood by the
server.
- 500
DATE_OK
public static final short DATE_OK
Indicates a DATE response.
- 111
GROUP_SELECTED
public static final short GROUP_SELECTED
Indicates that the newsgroup was successfully selected.
Format of the message is "n f l s xxx"
(n = estimated number of articles in group,
f = first article number in the group,
l = last article number in the group,
s = name of the group.)
- 211
HEAD_FOLLOWS
public static final short HEAD_FOLLOWS
Indicates that the article has been retrieved.
The head of the article follows.
- 221
HELP_TEXT
public static final short HELP_TEXT
Indicates a line of help text.
- 100
INTERNAL_ERROR
public static final short INTERNAL_ERROR
Indicates that the server was unable to perform the command due to an
internal error.
- 503
LIST_FOLLOWS
public static final short LIST_FOLLOWS
Indicates that a list of valid newsgroups follows.
The format of each following line is "g l f p"
(g = newsgroup name,
l = last article number in group,
f = first article number in group,
p = 'y' if posting to the group is allowed,
'n' otherwise)
- 215
NEWGROUPS_LIST_FOLLOWS
public static final short NEWGROUPS_LIST_FOLLOWS
Indicates that a list of new newsgroups follows.
This code is issued following a successful NEWGROUPS command. The
format of the listing is the same as for code 215 (list follows).
- 231
NEWNEWS_LIST_FOLLOWS
public static final short NEWNEWS_LIST_FOLLOWS
Indicates that a list of new articles by message-id follows.
- 230
NO_ARTICLE_SELECTED
public static final short NO_ARTICLE_SELECTED
Indicates that no article has been selected.
- 420
NO_GROUP_SELECTED
public static final short NO_GROUP_SELECTED
Indicates that no newsgroup has been selected.
- 412
NO_NEXT_ARTICLE
public static final short NO_NEXT_ARTICLE
Indicates that there is no next article in this newsgroup.
- 421
NO_POSTING_ALLOWED
public static final short NO_POSTING_ALLOWED
Indicates that the server is ready but posting is not allowed.
- 201
NO_PREVIOUS_ARTICLE
public static final short NO_PREVIOUS_ARTICLE
Indicates that there is no previous article in this newsgroup.
- 422
NO_SUCH_ARTICLE
public static final short NO_SUCH_ARTICLE
Indicates that the specified article could not be found.
- 430
NO_SUCH_ARTICLE_NUMBER
public static final short NO_SUCH_ARTICLE_NUMBER
Indicates that no article with the specified number exists in this
newsgroup.
- 423
NO_SUCH_GROUP
public static final short NO_SUCH_GROUP
Indicates that no such newsgroup exists.
- 411
OVERVIEW_FOLLOWS
public static final short OVERVIEW_FOLLOWS
Indicates that a listing of overview information follows.
- 224
PERMISSION_DENIED
public static final short PERMISSION_DENIED
Indicates that access restrictions deny permission to execute the
command sent by the client.
- 502
POSTING_ALLOWED
public static final short POSTING_ALLOWED
Indicates that the server is ready and posting is allowed.
- 200
POSTING_FAILED
public static final short POSTING_FAILED
Indicates that posting of the article failed.
The client may attempt to post the article again.
- 441
POSTING_NOT_ALLOWED
public static final short POSTING_NOT_ALLOWED
Indicates that posting is not allowed.
- 440
SEND_ARTICLE
public static final short SEND_ARTICLE
Indicates that the article to be posted should be sent by the
client. It should end with a CRLF-dot-CRLF sequence, i.e. a dot on a
line by itself.
- 340
SEND_ARTICLE_VIA_TAKETHIS
public static final short SEND_ARTICLE_VIA_TAKETHIS
Indicates that the server does not have the specified article and would
like it to be transferred via TAKETHIS.
- 238
SEND_AUTHINFOPASS
public static final short SEND_AUTHINFOPASS
Indicates that the server is ready to accept the AUTHINFO password.
- 381
SEND_AUTHINFO_SIMPLE
public static final short SEND_AUTHINFO_SIMPLE
Instructs the client to send a username/password pair according to the
AUTHINFO SIMPLE specification.
- 350
SEND_TRANSFER_ARTICLE
public static final short SEND_TRANSFER_ARTICLE
Indicates that the article to be transferred should be sent by the
client. It should end with a CRLF-dot-CRLF sequence, i.e. a dot on a
line by itself.
- 335
SERVICE_DISCONTINUED
public static final short SERVICE_DISCONTINUED
Indicates that the service has been discontinued.
- 400
SLAVE_ACKNOWLEDGED
public static final short SLAVE_ACKNOWLEDGED
Indicates that the server has noted the slave status of the connection.
- 202
STREAMING_OK
public static final short STREAMING_OK
Indicates that the server has accepted streaming mode.
- 203
SYNTAX_ERROR
public static final short SYNTAX_ERROR
Indicates that the command sent by the client was not a valid NNTP
command.
- 501
TRANSFER_FAILED
public static final short TRANSFER_FAILED
Indicates that transfer of the specified article failed.
The client should try to send the article again later.
- 436
TRANSFER_PERMISSION_DENIED
public static final short TRANSFER_PERMISSION_DENIED
Indicates that the client does not have the appropriate authorization
to transfer an article.
- 480
TRY_AGAIN_LATER
public static final short TRY_AGAIN_LATER
Indicates that the server is not currently in a state to accept an
article, but may become so at a later stage.
- 431
XGTITLE_LIST_FOLLOWS
public static final short XGTITLE_LIST_FOLLOWS
Indicates that an XGTITLE listing follows.
- 481
* NNTPConstants.java
* Copyright (C) 2002 The free Software Foundation
*
* This file is part of GNU inetlib, a library.
*
* GNU inetlib is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GNU inetlib 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Linking this library statically or dynamically with other modules is
* making a combined work based on this library. Thus, the terms and
* conditions of the GNU General Public License cover the whole
* combination.
*
* As a special exception, the copyright holders of this library give you
* permission to link this library with independent modules to produce an
* executable, regardless of the license terms of these independent
* modules, and to copy and distribute the resulting executable under
* terms of your choice, provided that you also meet, for each linked
* independent module, the terms and conditions of the license of that
* module. An independent module is a module which is not derived from
* or based on this library. If you modify this library, you may extend
* this exception to your version of the library, but you are not
* obliged to do so. If you do not wish to do so, delete this
* exception statement from your version.