shz.core.net.api.ApiMethodAndPath Maven / Gradle / Ivy
package shz.core.net.api;
import shz.core.io.FileHelp;
public final class ApiMethodAndPath {
private String method;
private String path;
public ApiMethodAndPath jointBasePath(String basePath) {
path = FileHelp.jointPath(basePath, path);
return this;
}
public String getMethod() {
return method;
}
public void setMethod(String method) {
this.method = method;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
@Override
public String toString() {
return "ApiMethodAndPath{" +
"method='" + method + '\'' +
", path='" + path + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy