public class SnippetOptions extends Object
| Constructor and Description |
|---|
SnippetOptions()
Default constructor
|
SnippetOptions(io.vertx.core.json.JsonObject json)
Create an settings from JSON
|
SnippetOptions(SnippetOptions other)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getParamsPrefix() |
String |
getTagName() |
SnippetOptions |
setParamsPrefix(String paramsPrefix)
Sets Knot.x snippet parameters prefix.
|
SnippetOptions |
setTagName(String tagName)
Sets a Knot.x snippet HTML tag name.
|
io.vertx.core.json.JsonObject |
toJson()
Convert to JSON
|
public SnippetOptions()
public SnippetOptions(SnippetOptions other)
other - the instance to copypublic SnippetOptions(io.vertx.core.json.JsonObject json)
json - the JSONpublic io.vertx.core.json.JsonObject toJson()
public String getTagName()
public SnippetOptions setTagName(String tagName)
tagName - tag namepublic String getParamsPrefix()
public SnippetOptions setParamsPrefix(String paramsPrefix)
paramsPrefix - prefixCopyright © 2016–2018. All rights reserved.