| Package | Description |
|---|---|
| org.apache.hadoop.registry.client.binding |
Registry binding utility classes.
|
| org.apache.hadoop.registry.client.types |
This package contains all the data types which can be saved to the registry
and/or marshalled to and from JSON.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Endpoint |
RegistryTypeUtils.inetAddrEndpoint(java.lang.String api,
java.lang.String protocolType,
java.lang.String hostname,
int port) |
Create an internet address endpoint from a list of URIs
|
static Endpoint |
RegistryTypeUtils.ipcEndpoint(java.lang.String api,
java.net.InetSocketAddress address) |
Create an IPC endpoint
|
static Endpoint |
RegistryTypeUtils.restEndpoint(java.lang.String api,
java.net.URI... uris) |
Create a REST endpoint from a list of URIs
|
static Endpoint |
RegistryTypeUtils.urlEndpoint(java.lang.String api,
java.lang.String protocolType,
java.net.URI... uris) |
Create a URL endpoint from a list of URIs
|
static Endpoint |
RegistryTypeUtils.webEndpoint(java.lang.String api,
java.net.URI... uris) |
Create a Web UI endpoint from a list of URIs
|
| Modifier and Type | Method | Description |
|---|---|---|
static void |
RegistryTypeUtils.requireAddressType(java.lang.String required,
Endpoint epr) |
Require a specific address type on an endpoint
|
static java.util.List<java.lang.String> |
RegistryTypeUtils.retrieveAddressesUriType(Endpoint epr) |
Get a single URI endpoint
|
static java.util.List<java.net.URL> |
RegistryTypeUtils.retrieveAddressURLs(Endpoint epr) |
Get the address URLs.
|
static void |
RegistryTypeUtils.validateEndpoint(java.lang.String path,
Endpoint endpoint) |
Validate the endpoint by checking for null fields and other invalid
conditions
|
| Modifier and Type | Field | Description |
|---|---|---|
java.util.List<Endpoint> |
ServiceRecord.external |
List of endpoints intended for use to external callers
|
java.util.List<Endpoint> |
ServiceRecord.internal |
List of endpoints for use within an application.
|
| Modifier and Type | Method | Description |
|---|---|---|
Endpoint |
ServiceRecord.getExternalEndpoint(java.lang.String api) |
Look up an external endpoint
|
Endpoint |
ServiceRecord.getInternalEndpoint(java.lang.String api) |
Look up an internal endpoint
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
ServiceRecord.addExternalEndpoint(Endpoint endpoint) |
Add an external endpoint
|
void |
ServiceRecord.addInternalEndpoint(Endpoint endpoint) |
Add an internal endpoint
|
| Constructor | Description |
|---|---|
Endpoint(Endpoint that) |
Create an endpoint from another endpoint.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.