public String source() {
        if (source instanceof HttpServletRequest) {
            return ((HttpServletRequest) source).getPathInfo();
        }
        return source.toString();
    }
@author <a href="mailto:nicolas.deloof@gmail.com">Nicolas De Loof</a>
plugin/src/main/java/io/jenkins/plugins/casc/yaml/YamlSource.java