JavaScript is disabled on your browser.
gnu.inet.nntp

Class ArticleResponse



  • public class ArticleResponse
    extends StatusResponse 
    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.
    • Field Summary

      Fields
      Modifier and Type Field and Description
      int articleNumber
      java.io.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.
      java.lang.String messageId
    • Constructor Summary

      Constructors
      Modifier Constructor and Description
      protected ArticleResponse (short status, java.lang.String message)
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • articleNumber

        public int articleNumber
      • messageId

        public java.lang.String messageId
      • in

        public java.io.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.
    • Constructor Detail

      • ArticleResponse

        protected ArticleResponse(short status,
         java.lang.String message)

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