public abstract class AbstractHttpRegistryContextBuilder<DESC extends HttpServerDescriptor> extends Object implements HttpRegistryContext.HttpRegistryContextBuilder<DESC>
HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<B extends HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<B>>, HttpRegistryUrlAccessor.HttpRegistryUrlMutator, HttpRegistryUrlAccessor.HttpRegistryUrlProperty
org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B extends org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B>>, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC extends HttpServerDescriptor,B extends HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC,B>>, HttpServerDescriptorAccessor.HttpServerDescriptorMutator<DESC extends HttpServerDescriptor>, HttpServerDescriptorAccessor.HttpServerDescriptorProperty<DESC extends HttpServerDescriptor>
PingRequestObserverAccessor.PingRequestObserverBuilder<B extends PingRequestObserverAccessor.PingRequestObserverBuilder<B>>, PingRequestObserverAccessor.PingRequestObserverMutator, PingRequestObserverAccessor.PingRequestObserverProperty
Constructor and Description |
---|
AbstractHttpRegistryContextBuilder(org.refcodes.net.Url aRegistryUrl,
DESC aServerDescriptor)
Constructs the
AbstractHttpRegistryContextBuilder context. |
AbstractHttpRegistryContextBuilder(org.refcodes.net.Url aRegistryUrl,
org.refcodes.security.TrustStoreDescriptor aStoreDescriptor,
DESC aServerDescriptor)
Constructs the
AbstractHttpRegistryContextBuilder context. |
Modifier and Type | Method and Description |
---|---|
org.refcodes.net.Url |
getHttpRegistryUrl()
Retrieves the URL from the URL property locating the service registry
registry.
|
DESC |
getHttpServerDescriptor()
Retrieves the
HttpServerDescriptor from the
HttpServerDescriptor property. |
org.refcodes.security.TrustStoreDescriptor |
getTrustStoreDescriptor() |
void |
setHttpRegistryUrl(org.refcodes.net.Url aRegistryUrl)
Sets the URL for the URL property locating the service registry
registry.
|
void |
setHttpServerDescriptor(DESC aServerDescriptor)
Sets the
HttpServerDescriptor for the
HttpServerDescriptor property. |
void |
setTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) |
HttpRegistryContext.HttpRegistryContextBuilder<DESC> |
withHttpRegistryUrl(org.refcodes.net.Url aUrl)
Sets the URL for the URL property locating the service registry
registry.
|
HttpRegistryContext.HttpRegistryContextBuilder<DESC> |
withHttpServerDescriptor(DESC aServerDescriptor)
Sets the
HttpServerDescriptor for the
HttpServerDescriptor property. |
HttpRegistryContext.HttpRegistryContextBuilder<DESC> |
withTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
withPingRequestObserver
getPingRequestObserver
setPingRequestObserver
public AbstractHttpRegistryContextBuilder(org.refcodes.net.Url aRegistryUrl, DESC aServerDescriptor)
AbstractHttpRegistryContextBuilder
context.aRegistryUrl
- The Url
pointing to the service discovery
registry.aServerDescriptor
- THe descriptor describing the server ("service")
to be discovered.public AbstractHttpRegistryContextBuilder(org.refcodes.net.Url aRegistryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor, DESC aServerDescriptor)
AbstractHttpRegistryContextBuilder
context.aRegistryUrl
- The Url
pointing to the service discovery
registry.aStoreDescriptor
- The descriptor describing the truststore
(KeyStore
) required for establishing an HTTPS connection
to the registry.aServerDescriptor
- THe descriptor describing the server ("service")
to be discovered.public org.refcodes.net.Url getHttpRegistryUrl()
getHttpRegistryUrl
in interface HttpRegistryUrlAccessor
public DESC getHttpServerDescriptor()
HttpServerDescriptor
from the
HttpServerDescriptor
property.getHttpServerDescriptor
in interface HttpServerDescriptorAccessor<DESC extends HttpServerDescriptor>
HttpServerDescriptor
stored by the
HttpServerDescriptor
property.public org.refcodes.security.TrustStoreDescriptor getTrustStoreDescriptor()
getTrustStoreDescriptor
in interface org.refcodes.security.TrustStoreDescriptorAccessor
public void setHttpRegistryUrl(org.refcodes.net.Url aRegistryUrl)
HttpRegistryUrlAccessor.HttpRegistryUrlMutator
setHttpRegistryUrl
in interface HttpRegistryUrlAccessor.HttpRegistryUrlMutator
aRegistryUrl
- The service registry registry URL to be stored by the
URL property.public void setHttpServerDescriptor(DESC aServerDescriptor)
HttpServerDescriptorAccessor.HttpServerDescriptorMutator
HttpServerDescriptor
for the
HttpServerDescriptor
property.setHttpServerDescriptor
in interface HttpServerDescriptorAccessor.HttpServerDescriptorMutator<DESC extends HttpServerDescriptor>
aServerDescriptor
- The HttpServerDescriptor
to be
stored by the HttpServerDescriptor
property.public void setTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
setTrustStoreDescriptor
in interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
public HttpRegistryContext.HttpRegistryContextBuilder<DESC> withHttpRegistryUrl(org.refcodes.net.Url aUrl)
HttpRegistryContext.HttpRegistryContextBuilder
withHttpRegistryUrl
in interface HttpRegistryContext.HttpRegistryContextBuilder<DESC extends HttpServerDescriptor>
withHttpRegistryUrl
in interface HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<HttpRegistryContext.HttpRegistryContextBuilder<DESC extends HttpServerDescriptor>>
aUrl
- The service registry registry URL to be stored by the
URL property.public HttpRegistryContext.HttpRegistryContextBuilder<DESC> withHttpServerDescriptor(DESC aServerDescriptor)
HttpRegistryContext.HttpRegistryContextBuilder
HttpServerDescriptor
for the
HttpServerDescriptor
property.withHttpServerDescriptor
in interface HttpRegistryContext.HttpRegistryContextBuilder<DESC extends HttpServerDescriptor>
withHttpServerDescriptor
in interface HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC extends HttpServerDescriptor,HttpRegistryContext.HttpRegistryContextBuilder<DESC extends HttpServerDescriptor>>
aServerDescriptor
- The HttpServerDescriptor
to be
stored by the HttpServerDescriptor
property.public HttpRegistryContext.HttpRegistryContextBuilder<DESC> withTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
HttpRegistryContext.HttpRegistryContextBuilder
withTrustStoreDescriptor
in interface HttpRegistryContext.HttpRegistryContextBuilder<DESC extends HttpServerDescriptor>
withTrustStoreDescriptor
in interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<HttpRegistryContext.HttpRegistryContextBuilder<DESC extends HttpServerDescriptor>>
Copyright © 2018. All rights reserved.