- java.lang.Object
-
- io.vertx.ext.consul.connect.ExposePathOptions
-
public class ExposePathOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description ExposePathOptions()Default constructorExposePathOptions(io.vertx.core.json.JsonObject options)Constructor from JSON
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetListenerPort()IntegergetLocalPathPort()StringgetPath()StringgetProtocol()ExposePathOptionssetListenerPort(Integer listenerPort)ExposePathOptionssetLocalPathPort(Integer localPathPort)ExposePathOptionssetPath(String path)ExposePathOptionssetProtocol(String protocol)io.vertx.core.json.JsonObjecttoJson()Convert to JSON
-
-
-
Method Detail
-
toJson
public io.vertx.core.json.JsonObject toJson()
Convert to JSON- Returns:
- the JSON
-
getPath
public String getPath()
-
setPath
public ExposePathOptions setPath(String path)
-
getProtocol
public String getProtocol()
-
setProtocol
public ExposePathOptions setProtocol(String protocol)
-
getLocalPathPort
public Integer getLocalPathPort()
-
setLocalPathPort
public ExposePathOptions setLocalPathPort(Integer localPathPort)
-
getListenerPort
public Integer getListenerPort()
-
setListenerPort
public ExposePathOptions setListenerPort(Integer listenerPort)
-
-