public class Route extends KubernetesResource implements IRoute
ANNOTATIONS, APIVERSION, CREATION_TIMESTAMP, KIND, LABELS, METADATA_NAME, NAME, NAMESPACE, OBJECTS, PORTS, PROTOCOL, TYPE, VALUE| Constructor and Description |
|---|
Route(org.jboss.dmr.ModelNode node,
IClient client,
Map<String,String[]> propertyKeys) |
| 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.
|
accept, addLabel, asBoolean, asInt, asInt, asMap, asString, asString, equals, get, get, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCapability, getClient, getCreationTimeStamp, getEnvMap, getKind, getLabels, getModifiableCapabilities, getName, getNamespace, getNode, getPath, getProject, hashCode, isAnnotatedWith, refresh, set, set, set, set, set, set, set, setAnnotation, setEnvMap, setName, setNamespace, supports, toJson, toJson, toPrettyString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddLabel, getAnnotation, getAnnotations, getApiVersion, getCapabilities, getCreationTimeStamp, getKind, getLabels, getName, getNamespace, getProject, isAnnotatedWith, setAnnotation, toJson, toJsonaccept, getCapability, supportspublic String getHost()
IRoutepublic void setHost(String host)
IRoutepublic String getPath()
IRoutepublic void setPath(String path)
IRoutepublic String getServiceName()
IRoutegetServiceName in interface IRoutepublic void setServiceName(String serviceName)
IRoutesetServiceName in interface IRouteserviceName - Name of the service this route should lead to.public ITLSConfig getTLSConfig()
IRoutegetTLSConfig in interface IRouteCopyright © 2016 Red Hat, Inc. All rights reserved.