Package org.apache.commons.net.nntp
Class NNTPCommand
java.lang.Object
org.apache.commons.net.nntp.NNTPCommand
NNTPCommand stores a set of constants for NNTP command codes. To interpret the meaning of the codes, familiarity with RFC 977 is assumed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getCommand
(int command) Retrieve the NNTP protocol command string corresponding to a specified command code.
-
Field Details
-
ARTICLE
- See Also:
-
BODY
- See Also:
-
GROUP
- See Also:
-
HEAD
- See Also:
-
HELP
- See Also:
-
IHAVE
- See Also:
-
LAST
- See Also:
-
LIST
- See Also:
-
NEWGROUPS
- See Also:
-
NEWNEWS
- See Also:
-
NEXT
- See Also:
-
POST
- See Also:
-
QUIT
- See Also:
-
SLAVE
- See Also:
-
STAT
- See Also:
-
AUTHINFO
- See Also:
-
XOVER
- See Also:
-
XHDR
- See Also:
-
-
Method Details
-
getCommand
Retrieve the NNTP protocol command string corresponding to a specified command code.- Parameters:
command
- The command code.- Returns:
- The NNTP protcol command string corresponding to a specified command code.
-