gnu.inet.nntp
Class ArticleResponse
public class ArticleResponse
An NNTP article status response.
This represents the status response associated with NNTP status codes
220-223, including an article number and a message-id.
int | articleNumber
|
InputStream | in - If the status code for this response is one of:
- ARTICLE_FOLLOWS
- HEAD_FOLLOWS
- BODY_FOLLOWS
then this stream can be used to retrieve the byte content of the article
retrieved.
|
String | messageId
|
articleNumber
public int articleNumber
in
public InputStream in
If the status code for this response is one of:
- ARTICLE_FOLLOWS
- HEAD_FOLLOWS
- BODY_FOLLOWS
then this stream can be used to retrieve the byte content of the article
retrieved. Otherwise, it will be null. If it is non-null, the stream
must be read in its entirety before further methods can be invoked on
the NNTPConnection.
messageId
public String messageId
ArticleResponse
protected ArticleResponse(short status,
String message)