in aws-lambda-java-events/src/main/java/com/amazonaws/services/lambda/runtime/events/APIGatewayV2WebSocketResponse.java [71:98]
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
final APIGatewayV2WebSocketResponse other = (APIGatewayV2WebSocketResponse) obj;
if (this.isBase64Encoded != other.isBase64Encoded) {
return false;
}
if (this.statusCode != other.statusCode) {
return false;
}
if ((this.body == null) ? (other.body != null) : !this.body.equals(other.body)) {
return false;
}
if (this.headers != other.headers && (this.headers == null || !this.headers.equals(other.headers))) {
return false;
}
if (this.multiValueHeaders != other.multiValueHeaders && (this.multiValueHeaders == null || !this.multiValueHeaders.equals(other.multiValueHeaders))) {
return false;
}
return true;
}