|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.javamail.transport.nntp.NNTPReply
public class NNTPReply
Util class to represent a reply from a NNTP server
Method Summary | |
---|---|
int |
getCode()
Return the code value associated with the reply. |
List |
getData()
Retrieve the long-command data from this response. |
String |
getMessage()
Get the message text associated with the reply. |
String |
getReply()
Retrieve the raw reply string for the reponse. |
void |
retrieveData(BufferedReader in)
Retrieve data associated with a multi-line reponse from a server stream. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int CAPABILITY_LIST
public static final int POSTING_ALLOWED
public static final int NO_POSTING_ALLOWED
public static final int EXTENSIONS_SUPPORTED
public static final int SERVICE_DISCONTINUED
public static final int COMMAND_NOT_RECOGNIZED
public static final int COMMAND_SYNTAX_ERROR
public static final int PERMISSION_DENIED
public static final int PROGRAM_FAULT
public static final int ARTICLE_FOLLOWS
public static final int HEAD_FOLLOWS
public static final int BODY_FOLLOWS
public static final int REQUEST_TEXT_SEPARATELY
public static final int OVERVIEW_FOLLOWS
public static final int NEW_ARTICLES_FOLLOWS
public static final int NEW_GROUPS_FOLLOWS
public static final int ARTICLE_TRANSFERRED
public static final int NO_NEWSGROUP_SELECTED
public static final int NO_ARTICLE_SELECTED
public static final int NO_ARTICLE_NUMBER
public static final int NO_ARTICLE_FOUND
public static final int GROUP_SELECTED
public static final int NO_SUCH_NEWSGROUP
public static final int POSTED_OK
public static final int SEND_ARTICLE
public static final int POSTING_NOT_ALLOWED
public static final int POSTING_FAILED
public static final int CLOSING_CONNECTION
public static final int AUTHINFO_ACCEPTED
public static final int AUTHINFO_ACCEPTED_FINAL
public static final int AUTHINFO_CONTINUE
public static final int AUTHINFO_CHALLENGE
public static final int AUTHINFO_SIMPLE_REJECTED
public static final int AUTHENTICATION_ACCEPTED
public static final int MORE_AUTHENTICATION_REQUIRED
public static final int AUTHINFO_REQUIRED
public static final int AUTHINFO_SIMPLE_REQUIRED
public static final int AUTHENTICATION_REJECTED
public static final int LIST_FOLLOWS
Method Detail |
---|
public void retrieveData(BufferedReader in) throws MessagingException
in
- The reader that's the source of the additional lines.
IOException
MessagingException
public List getData()
public int getCode()
public String getMessage()
public String getReply()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |