JavaScript is disabled on your browser.
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
gnu.inet.nntp

Interface NNTPConstants

  • All Known Implementing Classes:
    NNTPConnection


    public interface NNTPConstants
    NNTP status response codes.
    • Field Summary

      Fields
      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
    • Field Detail

      • POSTING_ALLOWED

        static final short POSTING_ALLOWED
        Indicates that the server is ready and posting is allowed.
        See Also:
        Constant Field Values
      • NO_POSTING_ALLOWED

        static final short NO_POSTING_ALLOWED
        Indicates that the server is ready but posting is not allowed.
        See Also:
        Constant Field Values
      • SLAVE_ACKNOWLEDGED

        static final short SLAVE_ACKNOWLEDGED
        Indicates that the server has noted the slave status of the connection.
        See Also:
        Constant Field Values
      • STREAMING_OK

        static final short STREAMING_OK
        Indicates that the server has accepted streaming mode.
        See Also:
        Constant Field Values
      • CLOSING_CONNECTION

        static final short CLOSING_CONNECTION
        Indicates that the server is closing the connection.
        See Also:
        Constant Field Values
      • GROUP_SELECTED

        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.)
        See Also:
        Constant Field Values
      • LIST_FOLLOWS

        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)
        See Also:
        Constant Field Values
      • ARTICLE_FOLLOWS

        static final short ARTICLE_FOLLOWS
        Indicates that the article has been retrieved. The head and body of the article follow.
        See Also:
        Constant Field Values
      • HEAD_FOLLOWS

        static final short HEAD_FOLLOWS
        Indicates that the article has been retrieved. The head of the article follows.
        See Also:
        Constant Field Values
      • BODY_FOLLOWS

        static final short BODY_FOLLOWS
        Indicates that the article has been retrieved. The body of the article follows.
        See Also:
        Constant Field Values
      • ARTICLE_RETRIEVED

        static final short ARTICLE_RETRIEVED
        Indicates that the article has been retrieved. The text of the article must be requested separately.
        See Also:
        Constant Field Values
      • OVERVIEW_FOLLOWS

        static final short OVERVIEW_FOLLOWS
        Indicates that a listing of overview information follows.
        See Also:
        Constant Field Values
      • NEWNEWS_LIST_FOLLOWS

        static final short NEWNEWS_LIST_FOLLOWS
        Indicates that a list of new articles by message-id follows.
        See Also:
        Constant Field Values
      • NEWGROUPS_LIST_FOLLOWS

        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).
        See Also:
        Constant Field Values
      • ARTICLE_TRANSFERRED

        static final short ARTICLE_TRANSFERRED
        Indicates that the article was correctly transferred.
        See Also:
        Constant Field Values
      • SEND_ARTICLE_VIA_TAKETHIS

        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.
        See Also:
        Constant Field Values
      • ARTICLE_TRANSFERRED_OK

        static final short ARTICLE_TRANSFERRED_OK
        Indicates that the server accepted the article transferred by a TAKETHIS command.
        See Also:
        Constant Field Values
      • ARTICLE_POSTED

        static final short ARTICLE_POSTED
        Indicates that the article was successfully posted.
        See Also:
        Constant Field Values
      • AUTHINFO_SIMPLE_OK

        static final short AUTHINFO_SIMPLE_OK
        Indicates success of an AUTHINFO SIMPLE transaction.
        See Also:
        Constant Field Values
      • AUTHINFO_OK

        static final short AUTHINFO_OK
        Indicates that AUTHINFO authentication was successful.
        See Also:
        Constant Field Values
      • SEND_TRANSFER_ARTICLE

        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.
        See Also:
        Constant Field Values
      • SEND_ARTICLE

        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.
        See Also:
        Constant Field Values
      • SEND_AUTHINFO_SIMPLE

        static final short SEND_AUTHINFO_SIMPLE
        Instructs the client to send a username/password pair according to the AUTHINFO SIMPLE specification.
        See Also:
        Constant Field Values
      • SEND_AUTHINFOPASS

        static final short SEND_AUTHINFOPASS
        Indicates that the server is ready to accept the AUTHINFO password.
        See Also:
        Constant Field Values
      • CONTINUE_TLS_NEGOTIATION

        static final short CONTINUE_TLS_NEGOTIATION
        Indicates that the server is ready to proceed with TLS negotiation.
        See Also:
        Constant Field Values
      • SERVICE_DISCONTINUED

        static final short SERVICE_DISCONTINUED
        Indicates that the service has been discontinued.
        See Also:
        Constant Field Values
      • NO_SUCH_GROUP

        static final short NO_SUCH_GROUP
        Indicates that no such newsgroup exists.
        See Also:
        Constant Field Values
      • NO_GROUP_SELECTED

        static final short NO_GROUP_SELECTED
        Indicates that no newsgroup has been selected.
        See Also:
        Constant Field Values
      • NO_ARTICLE_SELECTED

        static final short NO_ARTICLE_SELECTED
        Indicates that no article has been selected.
        See Also:
        Constant Field Values
      • NO_NEXT_ARTICLE

        static final short NO_NEXT_ARTICLE
        Indicates that there is no next article in this newsgroup.
        See Also:
        Constant Field Values
      • NO_PREVIOUS_ARTICLE

        static final short NO_PREVIOUS_ARTICLE
        Indicates that there is no previous article in this newsgroup.
        See Also:
        Constant Field Values
      • NO_SUCH_ARTICLE_NUMBER

        static final short NO_SUCH_ARTICLE_NUMBER
        Indicates that no article with the specified number exists in this newsgroup.
        See Also:
        Constant Field Values
      • NO_SUCH_ARTICLE

        static final short NO_SUCH_ARTICLE
        Indicates that the specified article could not be found.
        See Also:
        Constant Field Values
      • TRY_AGAIN_LATER

        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.
        See Also:
        Constant Field Values
      • ARTICLE_NOT_WANTED

        static final short ARTICLE_NOT_WANTED
        Indicates that the server does not want the specified article. The client should not send the article.
        See Also:
        Constant Field Values
      • TRANSFER_FAILED

        static final short TRANSFER_FAILED
        Indicates that transfer of the specified article failed. The client should try to send the article again later.
        See Also:
        Constant Field Values
      • ARTICLE_REJECTED

        static final short ARTICLE_REJECTED
        Indicates that the specified article was rejected. The client should not attempt to send the article again.
        See Also:
        Constant Field Values
      • ARTICLE_NOT_WANTED_VIA_TAKETHIS

        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.
        See Also:
        Constant Field Values
      • ARTICLE_TRANSFER_FAILED

        static final short ARTICLE_TRANSFER_FAILED
        Indicates that an article transferred by a TAKETHIS command failed.
        See Also:
        Constant Field Values
      • POSTING_NOT_ALLOWED

        static final short POSTING_NOT_ALLOWED
        Indicates that posting is not allowed.
        See Also:
        Constant Field Values
      • POSTING_FAILED

        static final short POSTING_FAILED
        Indicates that posting of the article failed. The client may attempt to post the article again.
        See Also:
        Constant Field Values
      • AUTHINFO_SIMPLE_REQUIRED

        static final short AUTHINFO_SIMPLE_REQUIRED
        Indicates that authentication via the AUTHINFO SIMPLE strategy is required.
        See Also:
        Constant Field Values
      • AUTHINFO_SIMPLE_DENIED

        static final short AUTHINFO_SIMPLE_DENIED
        Indicates an authentication failure using AUTHINFO SIMPLE.
        See Also:
        Constant Field Values
      • TRANSFER_PERMISSION_DENIED

        static final short TRANSFER_PERMISSION_DENIED
        Indicates that the client does not have the appropriate authorization to transfer an article.
        See Also:
        Constant Field Values
      • XGTITLE_LIST_FOLLOWS

        static final short XGTITLE_LIST_FOLLOWS
        Indicates that an XGTITLE listing follows.
        See Also:
        Constant Field Values
      • AUTHINFO_REJECTED

        static final short AUTHINFO_REJECTED
        Indicates the the authentication information supplied was not accepted by the server.
        See Also:
        Constant Field Values
      • ENCRYPTION_OR_AUTH_REQUIRED

        static final short ENCRYPTION_OR_AUTH_REQUIRED
        Indicates that the server requires encrypted connection or stronger authentication in order to perform request.
        See Also:
        Constant Field Values
      • COMMAND_NOT_RECOGNIZED

        static final short COMMAND_NOT_RECOGNIZED
        Indicates that the command sent by the client was not understood by the server.
        See Also:
        Constant Field Values
      • SYNTAX_ERROR

        static final short SYNTAX_ERROR
        Indicates that the command sent by the client was not a valid NNTP command.
        See Also:
        Constant Field Values
      • PERMISSION_DENIED

        static final short PERMISSION_DENIED
        Indicates that access restrictions deny permission to execute the command sent by the client.
        See Also:
        Constant Field Values
      • INTERNAL_ERROR

        static final short INTERNAL_ERROR
        Indicates that the server was unable to perform the command due to an internal error.
        See Also:
        Constant Field Values
      • TLS_INIT_ERROR

        static final short TLS_INIT_ERROR
        Indicates that the server is unable to proceed with TLS negotiation.
        See Also:
        Constant Field Values
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /