Package io.vertx.ext.consul.connect
Class ExposePathOptions
- java.lang.Object
-
- io.vertx.ext.consul.connect.ExposePathOptions
-
public class ExposePathOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description ExposePathOptions()Default constructorExposePathOptions(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)JsonObjecttoJson()Convert to JSON
-
-
-
Constructor Detail
-
ExposePathOptions
public ExposePathOptions()
Default constructor
-
ExposePathOptions
public ExposePathOptions(JsonObject options)
Constructor from JSON- Parameters:
options- the JSON
-
-
Method Detail
-
toJson
public 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)
-
-