package com.qianwen.core.boot.request;
|
|
import java.util.ArrayList;
|
import java.util.List;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
@ConfigurationProperties("blade.xss")
|
/* loaded from: blade-core-boot-9.3.0.0-SNAPSHOT.jar:org/springblade/core/boot/request/XssProperties.class */
|
public class XssProperties {
|
private Boolean enabled = true;
|
private List<String> skipUrl = new ArrayList();
|
|
public void setEnabled(final Boolean enabled) {
|
this.enabled = enabled;
|
}
|
|
public void setSkipUrl(final List<String> skipUrl) {
|
this.skipUrl = skipUrl;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof XssProperties) {
|
XssProperties other = (XssProperties) o;
|
if (other.canEqual(this)) {
|
Object this$enabled = getEnabled();
|
Object other$enabled = other.getEnabled();
|
if (this$enabled == null) {
|
if (other$enabled != null) {
|
return false;
|
}
|
} else if (!this$enabled.equals(other$enabled)) {
|
return false;
|
}
|
Object this$skipUrl = getSkipUrl();
|
Object other$skipUrl = other.getSkipUrl();
|
return this$skipUrl == null ? other$skipUrl == null : this$skipUrl.equals(other$skipUrl);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof XssProperties;
|
}
|
|
public int hashCode() {
|
Object $enabled = getEnabled();
|
int result = (1 * 59) + ($enabled == null ? 43 : $enabled.hashCode());
|
Object $skipUrl = getSkipUrl();
|
return (result * 59) + ($skipUrl == null ? 43 : $skipUrl.hashCode());
|
}
|
|
public String toString() {
|
return "XssProperties(enabled=" + getEnabled() + ", skipUrl=" + getSkipUrl() + ")";
|
}
|
|
public Boolean getEnabled() {
|
return this.enabled;
|
}
|
|
public List<String> getSkipUrl() {
|
return this.skipUrl;
|
}
|
}
|