Modifier and Type | Method and Description |
---|---|
String |
getHost()
Retrieves the externally available hostname that can be used to access
service.
|
String |
getPath()
Retrieves the path that the router watches for, to route traffic for to
the service.
|
String |
getServiceName()
Retrieves the name of the service this route leads to.
|
ITLSConfig |
getTLSConfig()
Retrieves the TLS configuration of this route.
|
String |
getURL()
Return a URL representation of this route
|
void |
setHost(String host)
Sets the externally available hostname that can be used to access
service.
|
void |
setPath(String path)
Sets the path that the router watches for, to route traffic for to the
service.
|
void |
setServiceName(String serviceName)
Sets the name of the service this route should lead to.
|
addLabel, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCreationTimeStamp, getKind, getLabels, getName, getNamespace, getProject, isAnnotatedWith, setAnnotation, toJson, toJson
accept, getCapability, supports
String getHost()
void setHost(String host)
host
- hostname to useString getPath()
void setPath(String path)
path
- route pathString getServiceName()
void setServiceName(String serviceName)
serviceName
- Name of the service this route should lead to.ITLSConfig getTLSConfig()
String getURL()
Copyright © 2016 Red Hat, Inc. All rights reserved.