All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shz.core.net.api.ApiMethodAndPath Maven / Gradle / Ivy

There is a newer version: 2024.0.2
Show newest version
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