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

Class StatusResponse

  • Direct Known Subclasses:
    ArticleResponse, GroupResponse


    public class StatusResponse
    extends java.lang.Object
    An NNTP status response. This represents the status code/message pair sent by the server in response to client commands.
    • Field Summary

      Fields
      Modifier and Type Field and Description
      protected java.lang.String message
      protected short status
    • Constructor Summary

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

      Methods
      Modifier and Type Method and Description
      java.lang.String getMessage ()
      Returns the message associated with this response.
      short getStatus ()
      Returns the status code associated with this response.
      • Methods inherited from class java.lang.Object

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

      • status

        protected short status
      • message

        protected java.lang.String message
    • Constructor Detail

      • StatusResponse

        protected StatusResponse(short status,
         java.lang.String message)
        Constructor.
    • Method Detail

      • getStatus

        public short getStatus()
        Returns the status code associated with this response.
      • getMessage

        public java.lang.String getMessage()
        Returns the message associated with this response.

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