Package com.networknt.handler.config
Class PathChain
- java.lang.Object
-
- com.networknt.handler.config.PathChain
-
public class PathChain extends Object
- Author:
- Nicholas Azar
-
-
Constructor Summary
Constructors Constructor Description PathChain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getExec()StringgetMethod()StringgetPath()StringgetSource()voidsetExec(List<String> exec)voidsetMethod(String method)voidsetPath(String path)voidsetSource(String source)StringtoString()voidvalidate(String origin)Validate the settings and raise Exception on error.
-
-
-
Method Detail
-
getSource
public String getSource()
-
setSource
public void setSource(String source)
-
getPath
public String getPath()
-
setPath
public void setPath(String path)
-
getMethod
public String getMethod()
-
setMethod
public void setMethod(String method)
-
validate
public void validate(String origin)
Validate the settings and raise Exception on error. The origin is used to help locate problems.- Parameters:
origin- the origin
-
-