org.cattleframework.webmvc.WebMvcUrlRewriteProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cattle-webmvc Show documentation
Show all versions of cattle-webmvc Show documentation
Cattle framework webmvc component pom
The newest version!
/*
* Copyright (C) 2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.cattleframework.webmvc;
import java.util.Set;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
* Web的Url重写属性
*
* @author orange
*
*/
@ConfigurationProperties("cattle.web.urlrewrite")
public class WebMvcUrlRewriteProperties {
private String statusPath;
private boolean statusEnabled = true;
private String statusEnabledOnHosts;
private boolean allowConfSwapViaHttp = false;
private Set modRewriteConf;
private String confPath;
public String getStatusPath() {
return statusPath;
}
public void setStatusPath(String statusPath) {
this.statusPath = statusPath;
}
public boolean isStatusEnabled() {
return statusEnabled;
}
public void setStatusEnabled(boolean statusEnabled) {
this.statusEnabled = statusEnabled;
}
public String getStatusEnabledOnHosts() {
return statusEnabledOnHosts;
}
public void setStatusEnabledOnHosts(String statusEnabledOnHosts) {
this.statusEnabledOnHosts = statusEnabledOnHosts;
}
public boolean isAllowConfSwapViaHttp() {
return allowConfSwapViaHttp;
}
public void setAllowConfSwapViaHttp(boolean allowConfSwapViaHttp) {
this.allowConfSwapViaHttp = allowConfSwapViaHttp;
}
public String getConfPath() {
return confPath;
}
public void setConfPath(String confPath) {
this.confPath = confPath;
}
public Set getModRewriteConf() {
return modRewriteConf;
}
public void setModRewriteConf(Set modRewriteConf) {
this.modRewriteConf = modRewriteConf;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy