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.
      • getCode

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

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

        public int hashCode()
        Overrides:
        hashCode in class Object