code: public static SpdySessionStatus valueOf(int code) {
          switch (code) {
          case 0:
              return OK;
          case 1:
              return PROTOCOL_ERROR;
          case 2:
              return INTERNAL_ERROR;
          }
  
          return new SpdySessionStatus(code, "UNKNOWN (" + code + ')');
      }
docs: Returns the {@link 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.