@Override public boolean equals(Object obj) { if (this == obj) return true; // testing equals by value, not by type if (!(obj instanceof HttpRequest)) return false; HttpRequest that = HttpRequest.class.cast(obj); return super.equals(that) && Objects.equal(this.method, that.method) && Objects.equal(this.endpoint, that.endpoint); }
@Override public boolean equals(Object obj) { if (this == obj) return true; // testing equals by value, not by type if (!(obj instanceof HttpRequest)) return false; HttpRequest that = HttpRequest.class.cast(obj); return super.equals(that) && Objects.equal(this.method, that.method) && Objects.equal(this.endpoint, that.endpoint); }
@Override public boolean equals(Object obj) { if (this == obj) return true; // testing equals by value, not by type if (!(obj instanceof HttpResponse)) return false; HttpResponse that = HttpResponse.class.cast(obj); return super.equals(that) && Objects.equal(this.statusCode, that.statusCode) && Objects.equal(this.message, that.message); }
@Override public boolean equals(Object obj) { if (this == obj) return true; // testing equals by value, not by type if (!(obj instanceof HttpRequest)) return false; HttpRequest that = HttpRequest.class.cast(obj); return super.equals(that) && Objects.equal(this.method, that.method) && Objects.equal(this.endpoint, that.endpoint); }
@Override public boolean equals(Object obj) { if (this == obj) return true; // testing equals by value, not by type if (!(obj instanceof HttpResponse)) return false; HttpResponse that = HttpResponse.class.cast(obj); return super.equals(that) && Objects.equal(this.statusCode, that.statusCode) && Objects.equal(this.message, that.message); }
@Override public boolean equals(Object obj) { if (this == obj) return true; // testing equals by value, not by type if (!(obj instanceof HttpResponse)) return false; HttpResponse that = HttpResponse.class.cast(obj); return super.equals(that) && Objects.equal(this.statusCode, that.statusCode) && Objects.equal(this.message, that.message); }
@Override public boolean equals(Object obj) { if (this == obj) return true; // testing equals by value, not by type if (!(obj instanceof HttpRequest)) return false; HttpRequest that = HttpRequest.class.cast(obj); return super.equals(that) && Objects.equal(this.method, that.method) && Objects.equal(this.endpoint, that.endpoint); }
@Override public boolean equals(Object obj) { if (this == obj) return true; // testing equals by value, not by type if (!(obj instanceof HttpRequest)) return false; HttpRequest that = HttpRequest.class.cast(obj); return super.equals(that) && Objects.equal(this.method, that.method) && Objects.equal(this.endpoint, that.endpoint); }
@Override public boolean equals(Object obj) { if (this == obj) return true; // testing equals by value, not by type if (!(obj instanceof HttpResponse)) return false; HttpResponse that = HttpResponse.class.cast(obj); return super.equals(that) && Objects.equal(this.statusCode, that.statusCode) && Objects.equal(this.message, that.message); }
@Override public boolean equals(Object obj) { if (this == obj) return true; // testing equals by value, not by type if (!(obj instanceof HttpResponse)) return false; HttpResponse that = HttpResponse.class.cast(obj); return super.equals(that) && Objects.equal(this.statusCode, that.statusCode) && Objects.equal(this.message, that.message); }
@Override public boolean equals(Object obj) { if (this == obj) return true; // testing equals by value, not by type if (!(obj instanceof HttpRequest)) return false; HttpRequest that = HttpRequest.class.cast(obj); return super.equals(that) && Objects.equal(this.method, that.method) && Objects.equal(this.endpoint, that.endpoint); }
@Override public boolean equals(Object obj) { if (this == obj) return true; // testing equals by value, not by type if (!(obj instanceof HttpResponse)) return false; HttpResponse that = HttpResponse.class.cast(obj); return super.equals(that) && Objects.equal(this.statusCode, that.statusCode) && Objects.equal(this.message, that.message); }