public class EndpointHolder extends ServerAddressHolder
Endpoint as we do not want to have setters there.| Constructor and Description |
|---|
EndpointHolder()
Creates an instance (deserialization).
|
EndpointHolder(de.iip_ecosphere.platform.support.Endpoint endpoint)
Creates an instance from a given instance (serialization).
|
EndpointHolder(de.iip_ecosphere.platform.support.Schema schema,
String host,
int port,
String path)
Creates an instance.
|
| Modifier and Type | Method and Description |
|---|---|
de.iip_ecosphere.platform.support.Endpoint |
getEndpoint()
Returns an endpoint instance constructed from the data in this instance.
|
String |
getPath()
Returns the endpoint name/path.
|
void |
setPath(String path)
Defines the endpoint name/path.
|
getHost, getPort, getSchema, getServerAddress, setHost, setPort, setSchemaprivate String path
public EndpointHolder()
public EndpointHolder(de.iip_ecosphere.platform.support.Schema schema,
String host,
int port,
String path)
schema - the schemahost - the host nameport - the portpath - the path denoting the endpointpublic EndpointHolder(de.iip_ecosphere.platform.support.Endpoint endpoint)
endpoint - the instance to take data frompublic String getPath()
public void setPath(String path)
path - the endpoint name/pathpublic de.iip_ecosphere.platform.support.Endpoint getEndpoint()
Copyright © 2021. All rights reserved.