Package org.yamcs.http
Class Binding
java.lang.Object
org.yamcs.http.Binding
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Binding
fromConfig
(YConfiguration config) int
getPort()
getURI()
Returns a URL string in the formatPROTOCOL://ADDRESS
orPROTOCOL://ADDRESS:PORT
if the PORT is unconventional for the PROTOCOL.boolean
isTLS()
void
void
toString()
-
Constructor Details
-
Binding
public Binding(int port) -
Binding
-
-
Method Details
-
isTLS
public boolean isTLS() -
setTLS
-
setTLS
-
getAddress
-
getPort
public int getPort() -
fromConfig
- Throws:
UnknownHostException
-
getURI
Returns a URL string in the formatPROTOCOL://ADDRESS
orPROTOCOL://ADDRESS:PORT
if the PORT is unconventional for the PROTOCOL. -
toString
-