@Override public boolean equals(Object o) { if (!(o instanceof DefaultHttp2UnknownFrame)) { return false; } DefaultHttp2UnknownFrame other = (DefaultHttp2UnknownFrame) o; return super.equals(other) && flags().equals(other.flags()) && frameType() == other.frameType() && (stream() == null && other.stream() == null) || stream().equals(other.stream()); }
@Override public int hashCode() { int hash = super.hashCode(); hash = hash * 31 + frameType(); hash = hash * 31 + flags().hashCode(); if (stream() != null) { hash = hash * 31 + stream().hashCode(); } return hash; } }
@Override public String toString() { return StringUtil.simpleClassName(this) + "(frameType=" + frameType() + ", stream=" + stream() + ", flags=" + flags() + ", content=" + contentToString() + ')'; }
@Override public boolean equals(Object o) { if (!(o instanceof DefaultHttp2UnknownFrame)) { return false; } DefaultHttp2UnknownFrame other = (DefaultHttp2UnknownFrame) o; return super.equals(other) && flags().equals(other.flags()) && frameType() == other.frameType() && (stream() == null && other.stream() == null) || stream().equals(other.stream()); }
@Override public boolean equals(Object o) { if (!(o instanceof DefaultHttp2UnknownFrame)) { return false; } DefaultHttp2UnknownFrame other = (DefaultHttp2UnknownFrame) o; return super.equals(other) && flags().equals(other.flags()) && frameType() == other.frameType() && (stream() == null && other.stream() == null) || stream().equals(other.stream()); }
@Override public int hashCode() { int hash = super.hashCode(); hash = hash * 31 + frameType(); hash = hash * 31 + flags().hashCode(); if (stream() != null) { hash = hash * 31 + stream().hashCode(); } return hash; } }
@Override public int hashCode() { int hash = super.hashCode(); hash = hash * 31 + frameType(); hash = hash * 31 + flags().hashCode(); if (stream() != null) { hash = hash * 31 + stream().hashCode(); } return hash; } }
@Override public String toString() { return StringUtil.simpleClassName(this) + "(frameType=" + frameType() + ", stream=" + stream() + ", flags=" + flags() + ", content=" + contentToString() + ')'; }
@Override public String toString() { return StringUtil.simpleClassName(this) + "(frameType=" + frameType() + ", stream=" + stream() + ", flags=" + flags() + ", content=" + contentToString() + ')'; }