Module org.refcodes.rest.ext.eureka
Package org.refcodes.rest.ext.eureka
Class EurekaRegistryContext
java.lang.Object
org.refcodes.rest.ext.eureka.EurekaRegistryContext
- All Implemented Interfaces:
org.refcodes.rest.HomeRequestObserverAccessor
,org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<EurekaRegistryContext>
,org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverMutator
,org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverProperty
,org.refcodes.rest.HttpRegistryContext<EurekaServerDescriptor>
,org.refcodes.rest.HttpRegistryContext.HttpRegistryContextBuilder<EurekaServerDescriptor>
,org.refcodes.rest.HttpRegistryUrlAccessor
,org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<org.refcodes.rest.HttpRegistryContext.HttpRegistryContextBuilder<EurekaServerDescriptor>>
,org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlMutator
,org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlProperty
,org.refcodes.rest.HttpServerDescriptorAccessor<EurekaServerDescriptor>
,org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<EurekaServerDescriptor,
,org.refcodes.rest.HttpRegistryContext.HttpRegistryContextBuilder<EurekaServerDescriptor>> org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorMutator<EurekaServerDescriptor>
,org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorProperty<EurekaServerDescriptor>
,org.refcodes.rest.PingRequestObserverAccessor
,org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverBuilder<org.refcodes.rest.HttpRegistryContext.HttpRegistryContextBuilder<EurekaServerDescriptor>>
,org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverMutator
,org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverProperty
,org.refcodes.rest.StatusRequestObserverAccessor
,org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<EurekaRegistryContext>
,org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverMutator
,org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverProperty
,org.refcodes.security.TrustStoreDescriptorAccessor
,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<org.refcodes.rest.HttpRegistryContext.HttpRegistryContextBuilder<EurekaServerDescriptor>>
,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
public class EurekaRegistryContext
extends Object
implements org.refcodes.rest.HttpRegistryContext<EurekaServerDescriptor>, org.refcodes.rest.HttpRegistryContext.HttpRegistryContextBuilder<EurekaServerDescriptor>, org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverProperty, org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<EurekaRegistryContext>, org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverProperty, org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<EurekaRegistryContext>
Implementation of the
EurekaRegistryContext
representing a
waschechten EurekaRegistryContext
being a https://www.metacodes.proization of the
HttpRegistryContext
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.rest.HomeRequestObserverAccessor
org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<B extends org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<B>>, org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverMutator, org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverProperty
Nested classes/interfaces inherited from interface org.refcodes.rest.HttpRegistryContext
org.refcodes.rest.HttpRegistryContext.HttpRegistryContextBuilder<DESC extends org.refcodes.rest.HttpServerDescriptor>
Nested classes/interfaces inherited from interface org.refcodes.rest.HttpRegistryUrlAccessor
org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<B extends org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<B>>, org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlMutator, org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlProperty
Nested classes/interfaces inherited from interface org.refcodes.rest.HttpServerDescriptorAccessor
org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC extends org.refcodes.rest.HttpServerDescriptor,
B extends org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC, B>>, org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorMutator<DESC extends org.refcodes.rest.HttpServerDescriptor>, org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorProperty<DESC extends org.refcodes.rest.HttpServerDescriptor> Nested classes/interfaces inherited from interface org.refcodes.rest.PingRequestObserverAccessor
org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverBuilder<B extends org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverBuilder<B>>, org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverMutator, org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverProperty
Nested classes/interfaces inherited from interface org.refcodes.rest.StatusRequestObserverAccessor
org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<B extends org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<B>>, org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverMutator, org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverProperty
Nested classes/interfaces inherited from interface org.refcodes.security.TrustStoreDescriptorAccessor
org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B extends org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<B>>, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
-
Constructor Summary
ConstructorDescriptionConstructs anEurekaRegistryContext
instance.EurekaRegistryContext
(EurekaServerDescriptor aServerDescriptor, org.refcodes.web.Url aRegistryUrl, org.refcodes.rest.RestRequestConsumer aPingRequestObserver, org.refcodes.rest.RestRequestConsumer aStatusRequestObserver, org.refcodes.rest.RestRequestConsumer aHomeRequestObserver, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) Constructs anEurekaRegistryContext
instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.refcodes.rest.RestRequestConsumer
org.refcodes.web.Url
org.refcodes.rest.RestRequestConsumer
org.refcodes.rest.RestRequestConsumer
org.refcodes.security.TrustStoreDescriptor
void
setHomeRequestObserver
(org.refcodes.rest.RestRequestConsumer aHomeRequestObserver) void
setHttpRegistryUrl
(org.refcodes.web.Url aRegistryUrl) void
setHttpServerDescriptor
(EurekaServerDescriptor aServerDescriptor) void
setPingRequestObserver
(org.refcodes.rest.RestRequestConsumer aPingRequestObserver) void
setStatusRequestObserver
(org.refcodes.rest.RestRequestConsumer aStatusRequestObserver) void
setTrustStoreDescriptor
(org.refcodes.security.TrustStoreDescriptor aTrustStoreDescriptor) withHomeRequestConsumer
(org.refcodes.rest.RestRequestConsumer aRequestObserver) withStatusRequestConsumer
(org.refcodes.rest.RestRequestConsumer aRequestObserver) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverProperty
letHomeRequestObserver
Methods inherited from interface org.refcodes.rest.HttpRegistryContext.HttpRegistryContextBuilder
withHttpRegistryUrl, withHttpServerDescriptor, withPingRequestObserver, withTrustStoreDescriptor
Methods inherited from interface org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlProperty
letHttpRegistryUrl
Methods inherited from interface org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorProperty
letHttpServerDescriptor
Methods inherited from interface org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverProperty
letPingRequestObserver
Methods inherited from interface org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverProperty
letStatusRequestObserver
Methods inherited from interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
letTrustStoreDescriptor
-
Constructor Details
-
EurekaRegistryContext
public EurekaRegistryContext()Constructs anEurekaRegistryContext
instance. -
EurekaRegistryContext
public EurekaRegistryContext(EurekaServerDescriptor aServerDescriptor, org.refcodes.web.Url aRegistryUrl, org.refcodes.rest.RestRequestConsumer aPingRequestObserver, org.refcodes.rest.RestRequestConsumer aStatusRequestObserver, org.refcodes.rest.RestRequestConsumer aHomeRequestObserver, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) Constructs anEurekaRegistryContext
instance.- Parameters:
aServerDescriptor
- The descriptor describing the server.aRegistryUrl
- TheUrl
pointing to the registry service.aPingRequestObserver
- The ping (health) request observer.aStatusRequestObserver
- The status(-page) observer.aHomeRequestObserver
- The home(-page) observer.aStoreDescriptor
- The trust store descriptor describing the trust store to be used when requesting the registry service.
-
-
Method Details
-
getHomeRequestConsumer
public org.refcodes.rest.RestRequestConsumer getHomeRequestConsumer()- Specified by:
getHomeRequestConsumer
in interfaceorg.refcodes.rest.HomeRequestObserverAccessor
-
getHttpRegistryUrl
public org.refcodes.web.Url getHttpRegistryUrl()- Specified by:
getHttpRegistryUrl
in interfaceorg.refcodes.rest.HttpRegistryUrlAccessor
-
getHttpServerDescriptor
- Specified by:
getHttpServerDescriptor
in interfaceorg.refcodes.rest.HttpServerDescriptorAccessor<EurekaServerDescriptor>
-
getPingRequestObserver
public org.refcodes.rest.RestRequestConsumer getPingRequestObserver()- Specified by:
getPingRequestObserver
in interfaceorg.refcodes.rest.PingRequestObserverAccessor
-
getStatusRequestConsumer
public org.refcodes.rest.RestRequestConsumer getStatusRequestConsumer()- Specified by:
getStatusRequestConsumer
in interfaceorg.refcodes.rest.StatusRequestObserverAccessor
-
getTrustStoreDescriptor
public org.refcodes.security.TrustStoreDescriptor getTrustStoreDescriptor()- Specified by:
getTrustStoreDescriptor
in interfaceorg.refcodes.security.TrustStoreDescriptorAccessor
-
setHomeRequestObserver
public void setHomeRequestObserver(org.refcodes.rest.RestRequestConsumer aHomeRequestObserver) - Specified by:
setHomeRequestObserver
in interfaceorg.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverMutator
-
setHttpRegistryUrl
public void setHttpRegistryUrl(org.refcodes.web.Url aRegistryUrl) - Specified by:
setHttpRegistryUrl
in interfaceorg.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlMutator
-
setHttpServerDescriptor
- Specified by:
setHttpServerDescriptor
in interfaceorg.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorMutator<EurekaServerDescriptor>
-
setPingRequestObserver
public void setPingRequestObserver(org.refcodes.rest.RestRequestConsumer aPingRequestObserver) - Specified by:
setPingRequestObserver
in interfaceorg.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverMutator
-
setStatusRequestObserver
public void setStatusRequestObserver(org.refcodes.rest.RestRequestConsumer aStatusRequestObserver) - Specified by:
setStatusRequestObserver
in interfaceorg.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverMutator
-
setTrustStoreDescriptor
public void setTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aTrustStoreDescriptor) - Specified by:
setTrustStoreDescriptor
in interfaceorg.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
-
withHomeRequestConsumer
public EurekaRegistryContext withHomeRequestConsumer(org.refcodes.rest.RestRequestConsumer aRequestObserver) - Specified by:
withHomeRequestConsumer
in interfaceorg.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<EurekaRegistryContext>
-
withStatusRequestConsumer
public EurekaRegistryContext withStatusRequestConsumer(org.refcodes.rest.RestRequestConsumer aRequestObserver) - Specified by:
withStatusRequestConsumer
in interfaceorg.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<EurekaRegistryContext>
-