Package org.apache.shenyu.common.utils
Class PathUtils
- java.lang.Object
-
- org.apache.shenyu.common.utils.PathUtils
-
public final class PathUtils extends java.lang.ObjectThe type Path utils.
-
-
Constructor Summary
Constructors Constructor Description PathUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringdecoratorContextPath(java.lang.String contextPath)Decorator context path string.static java.lang.StringdecoratorPath(java.lang.String contextPath)Decorator path string.static java.lang.StringdecoratorPathWithSlash(java.lang.String contextPath)Decorator path string with slash.
-
-
-
Method Detail
-
decoratorPath
public static java.lang.String decoratorPath(java.lang.String contextPath)
Decorator path string.- Parameters:
contextPath- the context path- Returns:
- the string
-
decoratorContextPath
public static java.lang.String decoratorContextPath(java.lang.String contextPath)
Decorator context path string.- Parameters:
contextPath- the context path- Returns:
- the string
-
decoratorPathWithSlash
public static java.lang.String decoratorPathWithSlash(java.lang.String contextPath)
Decorator path string with slash.- Parameters:
contextPath- the context path- Returns:
- the string
-
-