public interface NNTPConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARTICLE |
static short |
ARTICLE_FOLLOWS
Indicates that the article has been retrieved.
|
static short |
ARTICLE_NOT_WANTED
Indicates that the server does not want the specified article.
|
static short |
ARTICLE_NOT_WANTED_VIA_TAKETHIS
Indicates that the server already has the specified article, and
therefore doesn't want it sent using TAKETHIS.
|
static short |
ARTICLE_POSTED
Indicates that the article was successfully posted.
|
static short |
ARTICLE_REJECTED
Indicates that the specified article was rejected.
|
static short |
ARTICLE_RETRIEVED
Indicates that the article has been retrieved.
|
static short |
ARTICLE_TRANSFER_FAILED
Indicates that an article transferred by a TAKETHIS command failed.
|
static short |
ARTICLE_TRANSFERRED
Indicates that the article was correctly transferred.
|
static short |
ARTICLE_TRANSFERRED_OK
Indicates that the server accepted the article transferred by a
TAKETHIS command.
|
static java.lang.String |
AUTHINFO_GENERIC |
static short |
AUTHINFO_OK
Indicates that AUTHINFO authentication was successful.
|
static java.lang.String |
AUTHINFO_PASS |
static short |
AUTHINFO_REJECTED
Indicates the the authentication information supplied was not accepted
by the server.
|
static java.lang.String |
AUTHINFO_SIMPLE |
static short |
AUTHINFO_SIMPLE_DENIED
Indicates an authentication failure using AUTHINFO SIMPLE.
|
static short |
AUTHINFO_SIMPLE_OK
Indicates success of an AUTHINFO SIMPLE transaction.
|
static short |
AUTHINFO_SIMPLE_REQUIRED
Indicates that authentication via the AUTHINFO SIMPLE strategy is
required.
|
static java.lang.String |
AUTHINFO_USER |
static java.lang.String |
BODY |
static short |
BODY_FOLLOWS
Indicates that the article has been retrieved.
|
static java.lang.String |
CHECK |
static short |
CLOSING_CONNECTION
Indicates that the server is closing the connection.
|
static short |
COMMAND_NOT_RECOGNIZED
Indicates that the command sent by the client was not understood by the
server.
|
static short |
CONTINUE_TLS_NEGOTIATION
Indicates that the server is ready to proceed with TLS negotiation.
|
static java.lang.String |
DATE |
static short |
DATE_OK
Indicates a DATE response.
|
static short |
ENCRYPTION_OR_AUTH_REQUIRED
Indicates that the server requires encrypted connection or stronger
authentication in order to perform request.
|
static java.lang.String |
GROUP |
static short |
GROUP_SELECTED
Indicates that the newsgroup was successfully selected.
|
static java.lang.String |
HEAD |
static short |
HEAD_FOLLOWS
Indicates that the article has been retrieved.
|
static java.lang.String |
HELP |
static short |
HELP_TEXT
Indicates a line of help text.
|
static java.lang.String |
IHAVE |
static short |
INTERNAL_ERROR
Indicates that the server was unable to perform the command due to an
internal error.
|
static java.lang.String |
LAST |
static java.lang.String |
LIST |
static java.lang.String |
LIST_ACTIVE |
static java.lang.String |
LIST_ACTIVE_TIMES |
static java.lang.String |
LIST_DISTRIB_PATS |
static java.lang.String |
LIST_DISTRIBUTIONS |
static short |
LIST_FOLLOWS
Indicates that a list of valid newsgroups follows.
|
static java.lang.String |
LIST_NEWSGROUPS |
static java.lang.String |
LIST_OVERVIEW_FMT |
static java.lang.String |
LIST_SUBSCRIPTIONS |
static java.lang.String |
LISTGROUP |
static java.lang.String |
MODE_READER |
static java.lang.String |
MODE_STREAM |
static java.lang.String |
NEWGROUPS |
static short |
NEWGROUPS_LIST_FOLLOWS
Indicates that a list of new newsgroups follows.
|
static java.lang.String |
NEWNEWS |
static short |
NEWNEWS_LIST_FOLLOWS
Indicates that a list of new articles by message-id follows.
|
static java.lang.String |
NEXT |
static short |
NO_ARTICLE_SELECTED
Indicates that no article has been selected.
|
static short |
NO_GROUP_SELECTED
Indicates that no newsgroup has been selected.
|
static short |
NO_NEXT_ARTICLE
Indicates that there is no next article in this newsgroup.
|
static short |
NO_POSTING_ALLOWED
Indicates that the server is ready but posting is not allowed.
|
static short |
NO_PREVIOUS_ARTICLE
Indicates that there is no previous article in this newsgroup.
|
static short |
NO_SUCH_ARTICLE
Indicates that the specified article could not be found.
|
static short |
NO_SUCH_ARTICLE_NUMBER
Indicates that no article with the specified number exists in this
newsgroup.
|
static short |
NO_SUCH_GROUP
Indicates that no such newsgroup exists.
|
static short |
OVERVIEW_FOLLOWS
Indicates that a listing of overview information follows.
|
static short |
PERMISSION_DENIED
Indicates that access restrictions deny permission to execute the
command sent by the client.
|
static java.lang.String |
POST |
static short |
POSTING_ALLOWED
Indicates that the server is ready and posting is allowed.
|
static short |
POSTING_FAILED
Indicates that posting of the article failed.
|
static short |
POSTING_NOT_ALLOWED
Indicates that posting is not allowed.
|
static java.lang.String |
QUIT |
static short |
SEND_ARTICLE
Indicates that the article to be posted should be sent by the
client.
|
static short |
SEND_ARTICLE_VIA_TAKETHIS
Indicates that the server does not have the specified article and would
like it to be transferred via TAKETHIS.
|
static short |
SEND_AUTHINFO_SIMPLE
Instructs the client to send a username/password pair according to the
AUTHINFO SIMPLE specification.
|
static short |
SEND_AUTHINFOPASS
Indicates that the server is ready to accept the AUTHINFO password.
|
static short |
SEND_TRANSFER_ARTICLE
Indicates that the article to be transferred should be sent by the
client.
|
static short |
SERVICE_DISCONTINUED
Indicates that the service has been discontinued.
|
static java.lang.String |
SLAVE |
static short |
SLAVE_ACKNOWLEDGED
Indicates that the server has noted the slave status of the connection.
|
static java.lang.String |
STARTTLS |
static java.lang.String |
STAT |
static short |
STREAMING_OK
Indicates that the server has accepted streaming mode.
|
static short |
SYNTAX_ERROR
Indicates that the command sent by the client was not a valid NNTP
command.
|
static java.lang.String |
TAKETHIS |
static short |
TLS_INIT_ERROR
Indicates that the server is unable to proceed with TLS negotiation.
|
static short |
TRANSFER_FAILED
Indicates that transfer of the specified article failed.
|
static short |
TRANSFER_PERMISSION_DENIED
Indicates that the client does not have the appropriate authorization
to transfer an article.
|
static 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.
|
static java.lang.String |
XGTITLE |
static short |
XGTITLE_LIST_FOLLOWS
Indicates that an XGTITLE listing follows.
|
static java.lang.String |
XHDR |
static java.lang.String |
XINDEX |
static java.lang.String |
XOVER |
static java.lang.String |
XPAT |
static java.lang.String |
XPATH |
static java.lang.String |
XREPLIC |
static java.lang.String |
XROVER |
static final short HELP_TEXT
static final short DATE_OK
static final short POSTING_ALLOWED
static final short NO_POSTING_ALLOWED
static final short SLAVE_ACKNOWLEDGED
static final short STREAMING_OK
static final short CLOSING_CONNECTION
static final short GROUP_SELECTED
static final short LIST_FOLLOWS
static final short ARTICLE_FOLLOWS
static final short HEAD_FOLLOWS
static final short BODY_FOLLOWS
static final short ARTICLE_RETRIEVED
static final short OVERVIEW_FOLLOWS
static final short NEWNEWS_LIST_FOLLOWS
static final short NEWGROUPS_LIST_FOLLOWS
static final short ARTICLE_TRANSFERRED
static final short SEND_ARTICLE_VIA_TAKETHIS
static final short ARTICLE_TRANSFERRED_OK
static final short ARTICLE_POSTED
static final short AUTHINFO_SIMPLE_OK
static final short AUTHINFO_OK
static final short SEND_TRANSFER_ARTICLE
static final short SEND_ARTICLE
static final short SEND_AUTHINFO_SIMPLE
static final short SEND_AUTHINFOPASS
static final short CONTINUE_TLS_NEGOTIATION
static final short SERVICE_DISCONTINUED
static final short NO_SUCH_GROUP
static final short NO_GROUP_SELECTED
static final short NO_ARTICLE_SELECTED
static final short NO_NEXT_ARTICLE
static final short NO_PREVIOUS_ARTICLE
static final short NO_SUCH_ARTICLE_NUMBER
static final short NO_SUCH_ARTICLE
static final short TRY_AGAIN_LATER
static final short ARTICLE_NOT_WANTED
static final short TRANSFER_FAILED
static final short ARTICLE_REJECTED
static final short ARTICLE_NOT_WANTED_VIA_TAKETHIS
static final short ARTICLE_TRANSFER_FAILED
static final short POSTING_NOT_ALLOWED
static final short POSTING_FAILED
static final short AUTHINFO_SIMPLE_REQUIRED
static final short AUTHINFO_SIMPLE_DENIED
static final short TRANSFER_PERMISSION_DENIED
static final short XGTITLE_LIST_FOLLOWS
static final short AUTHINFO_REJECTED
static final short ENCRYPTION_OR_AUTH_REQUIRED
static final short COMMAND_NOT_RECOGNIZED
static final short SYNTAX_ERROR
static final short PERMISSION_DENIED
static final short INTERNAL_ERROR
static final short TLS_INIT_ERROR
static final java.lang.String ARTICLE
static final java.lang.String AUTHINFO_USER
static final java.lang.String AUTHINFO_PASS
static final java.lang.String AUTHINFO_SIMPLE
static final java.lang.String AUTHINFO_GENERIC
static final java.lang.String BODY
static final java.lang.String CHECK
static final java.lang.String DATE
static final java.lang.String HEAD
static final java.lang.String STAT
static final java.lang.String GROUP
static final java.lang.String HELP
static final java.lang.String IHAVE
static final java.lang.String LAST
static final java.lang.String LIST
static final java.lang.String LIST_ACTIVE
static final java.lang.String LIST_ACTIVE_TIMES
static final java.lang.String LIST_DISTRIBUTIONS
static final java.lang.String LIST_DISTRIB_PATS
static final java.lang.String LIST_NEWSGROUPS
static final java.lang.String LIST_OVERVIEW_FMT
static final java.lang.String LIST_SUBSCRIPTIONS
static final java.lang.String LISTGROUP
static final java.lang.String MODE_READER
static final java.lang.String MODE_STREAM
static final java.lang.String NEWGROUPS
static final java.lang.String NEWNEWS
static final java.lang.String NEXT
static final java.lang.String POST
static final java.lang.String QUIT
static final java.lang.String SLAVE
static final java.lang.String STARTTLS
static final java.lang.String TAKETHIS
static final java.lang.String XGTITLE
static final java.lang.String XHDR
static final java.lang.String XINDEX
static final java.lang.String XOVER
static final java.lang.String XPAT
static final java.lang.String XPATH
static final java.lang.String XREPLIC
static final java.lang.String XROVER