Class SpdySessionStatus

    • Constructor Detail

      • SpdySessionStatus

        public SpdySessionStatus​(int code,
                                 String statusPhrase)
        Creates a new instance with the specified code and its statusPhrase.
    • Method Detail

      • valueOf

        public static SpdySessionStatus valueOf​(int code)
        Returns the SpdySessionStatus represented by the specified code. If the specified code is a defined SPDY status code, a cached instance will be returned. Otherwise, a new instance will be returned.
      • code

        public int code()
        Returns the code of this status.
      • statusPhrase

        public String statusPhrase()
        Returns the status phrase of this status.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object