public final class NNTPCommand extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ARTICLE |
static int |
AUTHINFO |
static int |
BODY |
static int |
GROUP |
static int |
HEAD |
static int |
HELP |
static int |
IHAVE |
static int |
LAST |
static int |
LIST |
static int |
NEWGROUPS |
static int |
NEWNEWS |
static int |
NEXT |
static int |
POST |
static int |
QUIT |
static int |
SLAVE |
static int |
STAT |
static int |
XHDR |
static int |
XOVER |
Modifier and Type | Method and Description |
---|---|
static String |
getCommand(int command)
Retrieve the NNTP protocol command string corresponding to a specified
command code.
|
public static final int ARTICLE
public static final int BODY
public static final int GROUP
public static final int HEAD
public static final int HELP
public static final int IHAVE
public static final int LAST
public static final int LIST
public static final int NEWGROUPS
public static final int NEWNEWS
public static final int NEXT
public static final int POST
public static final int QUIT
public static final int SLAVE
public static final int STAT
public static final int AUTHINFO
public static final int XOVER
public static final int XHDR
public static final String getCommand(int command)
command
- The command code.Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.