com.alibaba.csp.ahas.sentinel.web.SentinelWebMvcConfig Maven / Gradle / Ivy
package com.alibaba.csp.ahas.sentinel.web;
/**
* @author Eric Zhao
*/
public class SentinelWebMvcConfig {
/**
* Specify whether the URL resource name should contain the HTTP method prefix (e.g. {@code POST:}).
*/
private boolean httpMethodSpecify = false;
public boolean isHttpMethodSpecify() {
return httpMethodSpecify;
}
public SentinelWebMvcConfig setHttpMethodSpecify(boolean httpMethodSpecify) {
this.httpMethodSpecify = httpMethodSpecify;
return this;
}
@Override
public String toString() {
return "SentinelWebMvcConfig{" +
"httpMethodSpecify=" + httpMethodSpecify +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy