Class WebServiceSketch
- java.lang.Object
-
- io.vertigo.studio.notebook.AbstractSketch
-
- io.vertigo.studio.notebook.webservices.WebServiceSketch
-
- All Implemented Interfaces:
Sketch
public final class WebServiceSketch extends AbstractSketch
Web service Sketch.- Author:
- npiedeloup
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebServiceSketch.VerbHTTP Verb supported.
-
Field Summary
Fields Modifier and Type Field Description static StringPREFIX-
Fields inherited from interface io.vertigo.studio.notebook.Sketch
REGEX_SKETCH_NAME
-
-
Constructor Summary
Constructors Constructor Description WebServiceSketch(String name, WebServiceSketch.Verb verb, String path, List<WebServiceSketchParam> webServiceParams, Optional<WebServiceSketchResponseContent> webServiceResponseContentOpt, String moduleName, Optional<String> groupNameOpt, String humanReadableAction, String doc)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDoc()Optional<String>getGroupNameOpt()StringgetHumanReadableAction()StringgetModuleName()StringgetPath()WebServiceSketch.VerbgetVerb()List<WebServiceSketchParam>getWebServiceParams()Optional<WebServiceSketchResponseContent>getWebServiceResponseContentOpt()-
Methods inherited from class io.vertigo.studio.notebook.AbstractSketch
getKey, getLocalName, toString
-
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebServiceSketch
public WebServiceSketch(String name, WebServiceSketch.Verb verb, String path, List<WebServiceSketchParam> webServiceParams, Optional<WebServiceSketchResponseContent> webServiceResponseContentOpt, String moduleName, Optional<String> groupNameOpt, String humanReadableAction, String doc)
Constructor.
-
-
Method Detail
-
getPath
public String getPath()
- Returns:
- path
-
getVerb
public WebServiceSketch.Verb getVerb()
- Returns:
- verb
-
getWebServiceParams
public List<WebServiceSketchParam> getWebServiceParams()
- Returns:
- webServiceParams
-
getWebServiceResponseContentOpt
public Optional<WebServiceSketchResponseContent> getWebServiceResponseContentOpt()
-
getModuleName
public String getModuleName()
-
getHumanReadableAction
public String getHumanReadableAction()
-
getDoc
public String getDoc()
- Returns:
- doc
-
-