DESC - The type of the server discovery descriptor (the object
describing your service and locating the service registry).HttpRegistry<DESC,B>, HttpRegistryRestServer<DESC,B>, HttpRegistrySidecar<DESC,B>AbstractHttpRegistryRestServerDecorator, AbstractHttpRegistrySidecarpublic interface HttpServerDescriptorFactory<DESC extends HttpServerDescriptor>
HttpServerDescriptorFactory provides factory functionality for
creating HttpServerDescriptor instances.| Modifier and Type | Method | Description |
|---|---|---|
default DESC |
toHttpServerDescriptor() |
Prepares the
HttpServerDescriptor by creating it from this
instance's state and the provided arguments. |
default DESC |
toHttpServerDescriptor(String aAlias,
String aInstanceId,
org.refcodes.data.Scheme aScheme,
int aPort) |
Prepares the
HttpServerDescriptor by creating it from this
instance's state and the provided arguments. |
DESC |
toHttpServerDescriptor(String aAlias,
String aInstanceId,
org.refcodes.data.Scheme aScheme,
String aHost,
String aVirtualHost,
int[] aIpAddress,
int aPort,
String aPingPath) |
Prepares the
HttpServerDescriptor by creating it from this
instance's state and the provided arguments. |
default DESC |
toHttpServerDescriptor(String aAlias,
org.refcodes.data.Scheme aScheme,
String aHost,
int aPort) |
Prepares the
HttpServerDescriptor by creating it from this
instance's state and the provided arguments. |
default DESC |
toHttpServerDescriptor(String aAlias,
org.refcodes.data.Scheme aScheme,
String aHost,
String aVirtualHost,
int[] aIpAddress,
int aPort,
String aPingPath) |
Prepares the
HttpServerDescriptor by creating it from this
instance's state and the provided arguments. |
default DESC toHttpServerDescriptor()
HttpServerDescriptor by creating it from this
instance's state and the provided arguments. The provided arguments can
modify the instance's state. The HttpServerDescriptor as finally
used is returned. You may modify this context and use it after
modification to initialize the according server via
HttpRegistry.initialize(HttpServerDescriptor, Url) or
HttpRegistry.initialize(HttpServerDescriptor, Url, TrustStoreDescriptor).HttpServerDescriptor as would be used when
initializing the according server via
HttpRegistry.initialize()default DESC toHttpServerDescriptor(String aAlias, String aInstanceId, org.refcodes.data.Scheme aScheme, int aPort)
HttpServerDescriptor by creating it from this
instance's state and the provided arguments. The provided arguments can
modify the instance's state. The HttpServerDescriptor as finally
used is returned. You may modify this context and use it after
modification to initialize the according server via
HttpRegistry.initialize(HttpServerDescriptor, Url) or
HttpRegistry.initialize(HttpServerDescriptor, Url, TrustStoreDescriptor).aAlias - The name ("alias") which identifies the server in the
registry.aInstanceId - The ID for the instance when being registered at the
service registry. If omitted, then the host name is used.aScheme - The Scheme to which this server is being attached
(HTTP or HTTPS).aPort - The port of your service being registered.HttpServerDescriptor as would be used when
initializing the according server via
HttpRegistry.initialize()default DESC toHttpServerDescriptor(String aAlias, org.refcodes.data.Scheme aScheme, String aHost, int aPort)
HttpServerDescriptor by creating it from this
instance's state and the provided arguments. The provided arguments can
modify the instance's state. The HttpServerDescriptor as finally
used is returned. You may modify this context and use it after
modification to initialize the according server via
HttpRegistry.initialize(HttpServerDescriptor, Url) or
HttpRegistry.initialize(HttpServerDescriptor, Url, TrustStoreDescriptor).aAlias - The name ("alias") which identifies the server in the
registry.aScheme - The Scheme to which this server is being attached
(HTTP or HTTPS).aHost - The host name to be used to address this server. If omitted,
then the system's host name should be used.aPort - The port of your service being registered. Make sure, you do
notHttpServerDescriptor as would be used when
initializing the according server via
HttpRegistry.initialize()default DESC toHttpServerDescriptor(String aAlias, org.refcodes.data.Scheme aScheme, String aHost, String aVirtualHost, int[] aIpAddress, int aPort, String aPingPath)
HttpServerDescriptor by creating it from this
instance's state and the provided arguments. The provided arguments can
modify the instance's state. The HttpServerDescriptor as finally
used is returned. You may modify this context and use it after
modification to initialize the according server via
HttpRegistry.initialize(HttpServerDescriptor, Url) or
HttpRegistry.initialize(HttpServerDescriptor, Url, TrustStoreDescriptor).
aAlias - The name ("alias") which identifies the server in the
registry.aScheme - The Scheme to which this server is being attached
(HTTP or HTTPS).aHost - The host name to be used to address this server. If omitted,
then the system's host name should be used.aVirtualHost - The virtual host name to be used for resolving.aIpAddress - The IP-Address identifying the host.aPort - The port of your service being registered. Make sure, you do
notaPingPath - The path to use as health-check end-point by this
server.HttpServerDescriptor as would be used when
initializing the according server via
HttpRegistry.initialize()DESC toHttpServerDescriptor(String aAlias, String aInstanceId, org.refcodes.data.Scheme aScheme, String aHost, String aVirtualHost, int[] aIpAddress, int aPort, String aPingPath)
HttpServerDescriptor by creating it from this
instance's state and the provided arguments. The provided arguments can
modify the instance's state. The HttpServerDescriptor as finally
used is returned. You may modify this context and use it after
modification to initialize the according server via
HttpRegistry.initialize(HttpServerDescriptor, Url) or
HttpRegistry.initialize(HttpServerDescriptor, Url, TrustStoreDescriptor).
aAlias - The name ("alias") which identifies the server in the
registry.aInstanceId - The ID for the instance when being registered at the
service registry. If omitted, then the host name is used.aScheme - The Scheme to which this server is being attached
(HTTP or HTTPS).aHost - The host name to be used to address this server. If omitted,
then the system's host name should be used.aVirtualHost - The virtual host name to be used for resolving.aIpAddress - The IP-Address identifying the host.aPort - The port of your service being registered. Make sure, you do
notaPingPath - The path to use as health-check end-point by this
server.HttpServerDescriptor as would be used when
initializing the according server via
HttpRegistry.initialize()Copyright © 2018. All rights reserved.