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

    Constructors
    Constructor
    Description
    Constructs an EurekaRegistryContext 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 an EurekaRegistryContext instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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
    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 an EurekaRegistryContext 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 an EurekaRegistryContext instance.
      Parameters:
      aServerDescriptor - The descriptor describing the server.
      aRegistryUrl - The Url 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 interface org.refcodes.rest.HomeRequestObserverAccessor
    • getHttpRegistryUrl

      public org.refcodes.web.Url getHttpRegistryUrl()
      Specified by:
      getHttpRegistryUrl in interface org.refcodes.rest.HttpRegistryUrlAccessor
    • getHttpServerDescriptor

      public EurekaServerDescriptor getHttpServerDescriptor()
      Specified by:
      getHttpServerDescriptor in interface org.refcodes.rest.HttpServerDescriptorAccessor<EurekaServerDescriptor>
    • getPingRequestObserver

      public org.refcodes.rest.RestRequestConsumer getPingRequestObserver()
      Specified by:
      getPingRequestObserver in interface org.refcodes.rest.PingRequestObserverAccessor
    • getStatusRequestConsumer

      public org.refcodes.rest.RestRequestConsumer getStatusRequestConsumer()
      Specified by:
      getStatusRequestConsumer in interface org.refcodes.rest.StatusRequestObserverAccessor
    • getTrustStoreDescriptor

      public org.refcodes.security.TrustStoreDescriptor getTrustStoreDescriptor()
      Specified by:
      getTrustStoreDescriptor in interface org.refcodes.security.TrustStoreDescriptorAccessor
    • setHomeRequestObserver

      public void setHomeRequestObserver(org.refcodes.rest.RestRequestConsumer aHomeRequestObserver)
      Specified by:
      setHomeRequestObserver in interface org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverMutator
    • setHttpRegistryUrl

      public void setHttpRegistryUrl(org.refcodes.web.Url aRegistryUrl)
      Specified by:
      setHttpRegistryUrl in interface org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlMutator
    • setHttpServerDescriptor

      public void setHttpServerDescriptor(EurekaServerDescriptor aServerDescriptor)
      Specified by:
      setHttpServerDescriptor in interface org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorMutator<EurekaServerDescriptor>
    • setPingRequestObserver

      public void setPingRequestObserver(org.refcodes.rest.RestRequestConsumer aPingRequestObserver)
      Specified by:
      setPingRequestObserver in interface org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverMutator
    • setStatusRequestObserver

      public void setStatusRequestObserver(org.refcodes.rest.RestRequestConsumer aStatusRequestObserver)
      Specified by:
      setStatusRequestObserver in interface org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverMutator
    • setTrustStoreDescriptor

      public void setTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aTrustStoreDescriptor)
      Specified by:
      setTrustStoreDescriptor in interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator
    • withHomeRequestConsumer

      public EurekaRegistryContext withHomeRequestConsumer(org.refcodes.rest.RestRequestConsumer aRequestObserver)
      Specified by:
      withHomeRequestConsumer in interface org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<EurekaRegistryContext>
    • withStatusRequestConsumer

      public EurekaRegistryContext withStatusRequestConsumer(org.refcodes.rest.RestRequestConsumer aRequestObserver)
      Specified by:
      withStatusRequestConsumer in interface org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<EurekaRegistryContext>