Interface EurekaRestServer

  • All Superinterfaces:
    org.refcodes.mixin.AliasAccessor, org.refcodes.mixin.AliasAccessor.AliasBuilder<EurekaRestServer>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty, org.refcodes.web.BaseLocatorAccessor, org.refcodes.web.BaseLocatorAccessor.BaseLocatorBuilder<org.refcodes.rest.RestServer>, org.refcodes.web.BaseLocatorAccessor.BaseLocatorMutator, org.refcodes.web.BaseLocatorAccessor.BaseLocatorProperty, org.refcodes.web.BasicAuthObservable<org.refcodes.rest.HttpRestServer>, org.refcodes.component.Closable, org.refcodes.component.Closable.CloseBuilder<org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<org.refcodes.web.HttpServerContext,​org.refcodes.rest.HttpRestServer>>, org.refcodes.component.Configurable<org.refcodes.rest.HttpRegistryContext<EurekaServerDescriptor>>, org.refcodes.component.ConnectionComponent<org.refcodes.web.HttpServerContext>, org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<org.refcodes.web.HttpServerContext,​org.refcodes.rest.HttpRestServer>, org.refcodes.component.ConnectionOpenable<org.refcodes.web.HttpServerContext>, org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<org.refcodes.web.HttpServerContext,​org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<org.refcodes.web.HttpServerContext,​org.refcodes.rest.HttpRestServer>>, org.refcodes.component.ConnectionStatusAccessor, org.refcodes.component.Destroyable, org.refcodes.component.Destroyable.DestroyAutomaton, EurekaDataCenterTypeAccessor, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeBuilder<EurekaRestServer>, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeMutator, EurekaDataCenterTypeAccessor.EurekaDataCenterTypeProperty, EurekaRegistry<EurekaRestServer>, EurekaServerDescriptorFactory, org.refcodes.rest.HomePathAccessor, org.refcodes.rest.HomePathAccessor.HomePathBuilder<EurekaRestServer>, org.refcodes.rest.HomePathAccessor.HomePathMutator, org.refcodes.rest.HomePathAccessor.HomePathProperty, org.refcodes.rest.HomeRequestObserver, org.refcodes.rest.HomeRequestObserverAccessor, org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<EurekaRestServer>, org.refcodes.web.HostAccessor, org.refcodes.web.HostAccessor.HostBuilder<EurekaRestServer>, org.refcodes.web.HostAccessor.HostMutator, org.refcodes.web.HostAccessor.HostProperty, org.refcodes.rest.HttpExceptionHandlerAccessor, org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<org.refcodes.rest.RestServer>, org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator, org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerProperty, org.refcodes.rest.HttpExceptionHandlingAccessor, org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingBuilder<org.refcodes.rest.RestServer>, org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingMutator, org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingProperty, org.refcodes.rest.HttpRegistry<EurekaServerDescriptor,​EurekaRestServer>, org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor,​EurekaRestServer>, org.refcodes.rest.HttpRegistryUrlAccessor, org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<EurekaRestServer>, org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlMutator, org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlProperty, org.refcodes.rest.HttpRestServer, org.refcodes.web.HttpsConnectionRequestObservable<org.refcodes.rest.HttpRestServer>, org.refcodes.rest.HttpServerDescriptorAccessor<EurekaServerDescriptor>, org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<EurekaServerDescriptor,​EurekaRestServer>, org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorMutator<EurekaServerDescriptor>, org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorProperty<EurekaServerDescriptor>, org.refcodes.rest.HttpServerDescriptorFactory<EurekaServerDescriptor>, org.refcodes.component.Initializable, org.refcodes.component.Initializable.InitializeAutomaton, org.refcodes.component.InitializedAccessor, org.refcodes.mixin.InstanceIdAccessor, org.refcodes.mixin.InstanceIdAccessor.InstanceIdBuilder<EurekaRestServer>, org.refcodes.mixin.InstanceIdAccessor.InstanceIdMutator, org.refcodes.mixin.InstanceIdAccessor.InstanceIdProperty, org.refcodes.web.IpAddressAccessor, org.refcodes.web.IpAddressAccessor.IpAddressBuilder<EurekaRestServer>, org.refcodes.web.IpAddressAccessor.IpAddressMutator, org.refcodes.web.IpAddressAccessor.IpAddressProperty, org.refcodes.security.KeyStoreDescriptorAccessor, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<org.refcodes.rest.HttpRestServer>, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorMutator, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorProperty, org.refcodes.component.LifeCycleComponent, org.refcodes.component.LifeCycleComponent.LifeCycleAutomaton, org.refcodes.component.LifeCycleStatusAccessor, org.refcodes.component.LinkComponent, org.refcodes.io.MaxConnectionsAccessor, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsBuilder<org.refcodes.rest.HttpRestServer>, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsMutator, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsProperty, org.refcodes.web.MediaTypeFactoryLookup, org.refcodes.web.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookup, org.refcodes.observer.Observable<org.refcodes.rest.RestEndpoint>, org.refcodes.observer.Observers<org.refcodes.rest.RestEndpoint,​org.refcodes.rest.RestServer>, org.refcodes.component.Openable, org.refcodes.component.OpenedAccessor, org.refcodes.component.Pausable, org.refcodes.component.Pausable.PauseAutomaton, org.refcodes.rest.PingPathAccessor, org.refcodes.rest.PingPathAccessor.PingPathBuilder<EurekaRestServer>, org.refcodes.rest.PingPathAccessor.PingPathMutator, org.refcodes.rest.PingPathAccessor.PingPathProperty, org.refcodes.rest.PingRequestObserver, org.refcodes.rest.PingRequestObserverAccessor, org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverBuilder<EurekaRestServer>, org.refcodes.mixin.PortAccessor, org.refcodes.mixin.PortAccessor.PortBuilder<org.refcodes.rest.HttpRestServer>, org.refcodes.mixin.PortAccessor.PortMutator, org.refcodes.mixin.PortAccessor.PortProperty, org.refcodes.web.RealmAccessor, org.refcodes.web.RealmAccessor.RealmBuilder<org.refcodes.rest.RestServer>, org.refcodes.web.RealmAccessor.RealmMutator, org.refcodes.web.RealmAccessor.RealmProperty, org.refcodes.runtime.RequestCorrelation<org.refcodes.rest.RestServer>, org.refcodes.rest.RestServer, org.refcodes.component.Resumable, org.refcodes.component.Resumable.ResumeAutomaton, org.refcodes.component.RunningAccessor, org.refcodes.web.SchemeAccessor, org.refcodes.web.SchemeAccessor.SchemeBuilder<org.refcodes.rest.HttpRestServer>, org.refcodes.web.SchemeAccessor.SchemeMutator, org.refcodes.web.SchemeAccessor.SchemeProperty, org.refcodes.runtime.SessionCorrelation<org.refcodes.rest.RestServer>, org.refcodes.component.Startable, org.refcodes.component.Startable.StartAutomaton, org.refcodes.rest.StatusPathAccessor, org.refcodes.rest.StatusPathAccessor.StatusPathBuilder<EurekaRestServer>, org.refcodes.rest.StatusPathAccessor.StatusPathMutator, org.refcodes.rest.StatusPathAccessor.StatusPathProperty, org.refcodes.rest.StatusRequestObserver, org.refcodes.rest.StatusRequestObserverAccessor, org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<EurekaRestServer>, org.refcodes.component.Stoppable, org.refcodes.component.Stoppable.StopAutomaton, org.refcodes.security.TrustStoreDescriptorAccessor, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<EurekaRestServer>, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty, org.refcodes.web.VirtualHostAccessor, org.refcodes.web.VirtualHostAccessor.VirtualHostBuilder<EurekaRestServer>, org.refcodes.web.VirtualHostAccessor.VirtualHostMutator, org.refcodes.web.VirtualHostAccessor.VirtualHostProperty
    All Known Implementing Classes:
    EurekaRestServerDecorator, EurekaRestServerImpl

    public interface EurekaRestServer
    extends org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor,​EurekaRestServer>, EurekaRegistry<EurekaRestServer>, org.refcodes.rest.HomeRequestObserver, org.refcodes.rest.StatusRequestObserver, org.refcodes.rest.StatusRequestObserverAccessor, org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<EurekaRestServer>, org.refcodes.rest.HomeRequestObserverAccessor, org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<EurekaRestServer>, EurekaServerDescriptorFactory
    The EurekaRestServer refines the HttpRegistryRestServer for use with an Eureka Service-Registry. The Lifecycle-States are used to control the registry process.
    1. HttpRegistry.initialize(): (or the like initialize methods) Initialize this service by registering it with the status EurekaServiceStatus.STARTING to the attached registry server.
    2. HttpRegistryRestServer.start(): Starts this service by registering it with the status EurekaServiceStatus.UP to the attached registry server.
    3. HttpRegistryRestServer.pause(): Pauses this service by updating the status EurekaServiceStatus.DOWN to the attached registry server.
    4. HttpRegistryRestServer.resume():
    5. HttpRegistryRestServer.stop(): Stops this service by updating the status EurekaServiceStatus.OUT_OF_SERVICE to the attached registry server.
    6. HttpRegistryRestServer.destroy(): Removes the server from the registry.
    The EurekaRestServer implements the LifeCycleComponent, the above mentioned lifecycle states behave as of the definition for the LifeCycleComponent interface.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.mixin.AliasAccessor

        org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty
      • Nested classes/interfaces inherited from interface org.refcodes.web.BaseLocatorAccessor

        org.refcodes.web.BaseLocatorAccessor.BaseLocatorBuilder<B extends org.refcodes.web.BaseLocatorAccessor.BaseLocatorBuilder<B>>, org.refcodes.web.BaseLocatorAccessor.BaseLocatorMutator, org.refcodes.web.BaseLocatorAccessor.BaseLocatorProperty
      • Nested classes/interfaces inherited from interface org.refcodes.component.Closable

        org.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>
      • Nested classes/interfaces inherited from interface org.refcodes.component.Configurable

        org.refcodes.component.Configurable.ConfigureAutomaton<CTX extends Object>, org.refcodes.component.Configurable.ConfigureBuilder<CTX extends Object,​B extends org.refcodes.component.Configurable.ConfigureBuilder<CTX,​B>>
      • Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionComponent

        org.refcodes.component.ConnectionComponent.ConnectionAutomaton<CON extends Object>, org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON extends Object,​B extends org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON,​B>>
      • Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionOpenable

        org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<CON extends Object>, org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON extends Object,​B extends org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON,​B>>
      • Nested classes/interfaces inherited from interface org.refcodes.component.ConnectionStatusAccessor

        org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusMutator, org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusProperty
      • Nested classes/interfaces inherited from interface org.refcodes.component.Destroyable

        org.refcodes.component.Destroyable.DestroyAutomaton
      • Nested classes/interfaces inherited from interface org.refcodes.rest.HomePathAccessor

        org.refcodes.rest.HomePathAccessor.HomePathBuilder<B extends org.refcodes.rest.HomePathAccessor.HomePathBuilder<?>>, org.refcodes.rest.HomePathAccessor.HomePathMutator, org.refcodes.rest.HomePathAccessor.HomePathProperty
      • 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.web.HostAccessor

        org.refcodes.web.HostAccessor.HostBuilder<B extends org.refcodes.web.HostAccessor.HostBuilder<?>>, org.refcodes.web.HostAccessor.HostMutator, org.refcodes.web.HostAccessor.HostProperty
      • Nested classes/interfaces inherited from interface org.refcodes.rest.HttpExceptionHandlerAccessor

        org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B extends org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B>>, org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator, org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerProperty
      • Nested classes/interfaces inherited from interface org.refcodes.rest.HttpExceptionHandlingAccessor

        org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingBuilder<B extends org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingBuilder<B>>, org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingMutator, org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingProperty
      • 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.component.Initializable

        org.refcodes.component.Initializable.InitializeAutomaton, org.refcodes.component.Initializable.InitializeBuilder<B extends org.refcodes.component.Initializable.InitializeBuilder<B>>, org.refcodes.component.Initializable.UncheckedInitializable
      • Nested classes/interfaces inherited from interface org.refcodes.component.InitializedAccessor

        org.refcodes.component.InitializedAccessor.InitializedMutator, org.refcodes.component.InitializedAccessor.InitializedProperty
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.InstanceIdAccessor

        org.refcodes.mixin.InstanceIdAccessor.InstanceIdBuilder<B extends org.refcodes.mixin.InstanceIdAccessor.InstanceIdBuilder<B>>, org.refcodes.mixin.InstanceIdAccessor.InstanceIdMutator, org.refcodes.mixin.InstanceIdAccessor.InstanceIdProperty
      • Nested classes/interfaces inherited from interface org.refcodes.web.IpAddressAccessor

        org.refcodes.web.IpAddressAccessor.IpAddressBuilder<B extends org.refcodes.web.IpAddressAccessor.IpAddressBuilder<B>>, org.refcodes.web.IpAddressAccessor.IpAddressMutator, org.refcodes.web.IpAddressAccessor.IpAddressProperty
      • Nested classes/interfaces inherited from interface org.refcodes.security.KeyStoreDescriptorAccessor

        org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<B extends org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<B>>, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorMutator, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorProperty
      • Nested classes/interfaces inherited from interface org.refcodes.component.LifeCycleComponent

        org.refcodes.component.LifeCycleComponent.LifeCycleAutomaton, org.refcodes.component.LifeCycleComponent.UncheckedLifeCycleComponent
      • Nested classes/interfaces inherited from interface org.refcodes.component.LifeCycleStatusAccessor

        org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusBuilder<B extends org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusBuilder<B>>, org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusMutator, org.refcodes.component.LifeCycleStatusAccessor.LifeCycleStatusProperty
      • Nested classes/interfaces inherited from interface org.refcodes.component.LinkComponent

        org.refcodes.component.LinkComponent.LinkAutomaton, org.refcodes.component.LinkComponent.LinkComponentBuilder<B extends org.refcodes.component.LinkComponent.LinkComponentBuilder<B>>
      • Nested classes/interfaces inherited from interface org.refcodes.io.MaxConnectionsAccessor

        org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsBuilder<B extends org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsBuilder<B>>, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsMutator, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsProperty
      • Nested classes/interfaces inherited from interface org.refcodes.web.MediaTypeFactoryLookup

        org.refcodes.web.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookup
      • Nested classes/interfaces inherited from interface org.refcodes.component.Openable

        org.refcodes.component.Openable.OpenAutomaton, org.refcodes.component.Openable.OpenBuilder<B extends org.refcodes.component.Openable.OpenBuilder<B>>
      • Nested classes/interfaces inherited from interface org.refcodes.component.OpenedAccessor

        org.refcodes.component.OpenedAccessor.OpenedMutator, org.refcodes.component.OpenedAccessor.OpenedProperty
      • Nested classes/interfaces inherited from interface org.refcodes.component.Pausable

        org.refcodes.component.Pausable.PauseAutomaton, org.refcodes.component.Pausable.PauseBuilder<B extends org.refcodes.component.Pausable.PauseBuilder<B>>, org.refcodes.component.Pausable.UncheckedPausable
      • Nested classes/interfaces inherited from interface org.refcodes.rest.PingPathAccessor

        org.refcodes.rest.PingPathAccessor.PingPathBuilder<B extends org.refcodes.rest.PingPathAccessor.PingPathBuilder<?>>, org.refcodes.rest.PingPathAccessor.PingPathMutator, org.refcodes.rest.PingPathAccessor.PingPathProperty
      • 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.mixin.PortAccessor

        org.refcodes.mixin.PortAccessor.PortBuilder<B extends org.refcodes.mixin.PortAccessor.PortBuilder<B>>, org.refcodes.mixin.PortAccessor.PortMutator, org.refcodes.mixin.PortAccessor.PortProperty
      • Nested classes/interfaces inherited from interface org.refcodes.web.RealmAccessor

        org.refcodes.web.RealmAccessor.RealmBuilder<B extends org.refcodes.web.RealmAccessor.RealmBuilder<B>>, org.refcodes.web.RealmAccessor.RealmMutator, org.refcodes.web.RealmAccessor.RealmProperty
      • Nested classes/interfaces inherited from interface org.refcodes.component.Resumable

        org.refcodes.component.Resumable.ResumeAutomaton, org.refcodes.component.Resumable.ResumeBuilder<B extends org.refcodes.component.Resumable.ResumeBuilder<B>>, org.refcodes.component.Resumable.UncheckedResumable
      • Nested classes/interfaces inherited from interface org.refcodes.component.RunningAccessor

        org.refcodes.component.RunningAccessor.RunningMutator, org.refcodes.component.RunningAccessor.RunningProperty
      • Nested classes/interfaces inherited from interface org.refcodes.web.SchemeAccessor

        org.refcodes.web.SchemeAccessor.SchemeBuilder<B extends org.refcodes.web.SchemeAccessor.SchemeBuilder<B>>, org.refcodes.web.SchemeAccessor.SchemeMutator, org.refcodes.web.SchemeAccessor.SchemeProperty
      • Nested classes/interfaces inherited from interface org.refcodes.component.Startable

        org.refcodes.component.Startable.StartAutomaton, org.refcodes.component.Startable.StartBuilder<B extends org.refcodes.component.Startable.StartBuilder<B>>, org.refcodes.component.Startable.UncheckedStartable
      • Nested classes/interfaces inherited from interface org.refcodes.rest.StatusPathAccessor

        org.refcodes.rest.StatusPathAccessor.StatusPathBuilder<B extends org.refcodes.rest.StatusPathAccessor.StatusPathBuilder<?>>, org.refcodes.rest.StatusPathAccessor.StatusPathMutator, org.refcodes.rest.StatusPathAccessor.StatusPathProperty
      • 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.component.Stoppable

        org.refcodes.component.Stoppable.StopAutomaton, org.refcodes.component.Stoppable.StopBuilder<B extends org.refcodes.component.Stoppable.StopBuilder<B>>, org.refcodes.component.Stoppable.UncheckedStoppable
      • 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
      • Nested classes/interfaces inherited from interface org.refcodes.web.VirtualHostAccessor

        org.refcodes.web.VirtualHostAccessor.VirtualHostBuilder<B extends org.refcodes.web.VirtualHostAccessor.VirtualHostBuilder<?>>, org.refcodes.web.VirtualHostAccessor.VirtualHostMutator, org.refcodes.web.VirtualHostAccessor.VirtualHostProperty
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default void initialize​(String aAlias, String aInstanceId, org.refcodes.data.Scheme aScheme, String aHost, String aVirtualHost, int[] aIpAddress, int aPort, String aPingPath, org.refcodes.rest.RestRequestConsumer aPingRequestObserver, String aStatusPath, org.refcodes.rest.RestRequestConsumer aStatusRequestObserver, String aHomePath, org.refcodes.rest.RestRequestConsumer aHomeRequestObserver, EurekaDataCenterType aDataCenterType, org.refcodes.web.Url aRegistryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
      Initializes the HttpRegistryRestServer by registering it at the service registry.
      default void initialize​(String aAlias, String aInstanceId, org.refcodes.data.Scheme aScheme, String aHost, String aVirtualHost, int[] aIpAddress, int aPort, String aPingPath, org.refcodes.rest.RestRequestConsumer aPingRequestObserver, org.refcodes.web.Url aRegistryUrl)
      Initializes the HttpRegistryRestServer by registering it at the service registry with a status such as "starting" or "initializing" or "not-ready-yet".
      default void initialize​(EurekaRegistryContext aRegistryContext)
      Initializes the HttpRegistryRestServer by registering it at the Eureka service registry with a status such as "starting" or "initializing" or "not-ready-yet".
      void initialize​(EurekaServerDescriptor aServerDescriptor, org.refcodes.rest.RestRequestConsumer aPingRequestObserver, org.refcodes.rest.RestRequestConsumer aStatusRequestObserver, org.refcodes.rest.RestRequestConsumer aHomeRequestObserver, org.refcodes.web.Url aRegistryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
      Initializes the HttpRegistryRestServer by registering it at the service registry.
      default void initialize​(EurekaServerDescriptor aServerDescriptor, org.refcodes.web.Url aRegistryUrl, org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
      default EurekaRestServer withHomeRequestConsumer​(org.refcodes.rest.RestRequestConsumer aRequestConsumer)
      default EurekaRestServer withStatusRequestConsumer​(org.refcodes.rest.RestRequestConsumer aRequestConsumer)
      • Methods inherited from interface org.refcodes.mixin.AliasAccessor

        getAlias
      • Methods inherited from interface org.refcodes.mixin.AliasAccessor.AliasMutator

        setAlias
      • Methods inherited from interface org.refcodes.mixin.AliasAccessor.AliasProperty

        letAlias
      • Methods inherited from interface org.refcodes.web.BaseLocatorAccessor

        getBaseLocator
      • Methods inherited from interface org.refcodes.web.BaseLocatorAccessor.BaseLocatorMutator

        setBaseLocator
      • Methods inherited from interface org.refcodes.web.BaseLocatorAccessor.BaseLocatorProperty

        letBaseLocator
      • Methods inherited from interface org.refcodes.web.BasicAuthObservable

        onBasicAuthRequest
      • Methods inherited from interface org.refcodes.component.Closable

        close, closeIn, closeQuietly, closeUnchecked
      • Methods inherited from interface org.refcodes.component.Closable.CloseBuilder

        withCloseUnchecked
      • Methods inherited from interface org.refcodes.component.Configurable

        initializeUnchecked
      • Methods inherited from interface org.refcodes.component.ConnectionOpenable

        openUnchecked
      • Methods inherited from interface org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder

        withOpenUnchecked
      • Methods inherited from interface org.refcodes.component.ConnectionStatusAccessor

        getConnectionStatus, isOpened
      • Methods inherited from interface org.refcodes.component.Destroyable.DestroyAutomaton

        isDestroyable, isDestroyed
      • Methods inherited from interface org.refcodes.rest.HomePathAccessor

        getHomePath
      • Methods inherited from interface org.refcodes.rest.HomePathAccessor.HomePathMutator

        setHomePath
      • Methods inherited from interface org.refcodes.rest.HomePathAccessor.HomePathProperty

        letHomePath
      • Methods inherited from interface org.refcodes.rest.HomeRequestObserver

        setHomeRequestConsumer
      • Methods inherited from interface org.refcodes.rest.HomeRequestObserverAccessor

        getHomeRequestConsumer
      • Methods inherited from interface org.refcodes.web.HostAccessor

        getHost
      • Methods inherited from interface org.refcodes.web.HostAccessor.HostMutator

        setHost
      • Methods inherited from interface org.refcodes.web.HostAccessor.HostProperty

        letHost
      • Methods inherited from interface org.refcodes.rest.HttpExceptionHandlerAccessor

        getHttpExceptionHandler
      • Methods inherited from interface org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder

        withOnHttpException
      • Methods inherited from interface org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator

        onHttpException, setHttpExceptionHandler
      • Methods inherited from interface org.refcodes.rest.HttpExceptionHandlerAccessor.HttpExceptionHandlerProperty

        letHttpExceptionHandler
      • Methods inherited from interface org.refcodes.rest.HttpExceptionHandlingAccessor

        getHttpExceptionHandling
      • Methods inherited from interface org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingMutator

        setHttpExceptionHandling
      • Methods inherited from interface org.refcodes.rest.HttpExceptionHandlingAccessor.HttpExceptionHandlingProperty

        letHttpExceptionHandling
      • Methods inherited from interface org.refcodes.rest.HttpRegistry

        initialize, initialize, initialize, initialize, initialize, initialize, withAlias, withCidrNotation, withHost, withHttpRegistryUrl, withHttpServerDescriptor, withInstanceId, withIpAddress, withPingPath, withTrustStoreDescriptor, withVirtualHost
      • Methods inherited from interface org.refcodes.rest.HttpRegistryRestServer

        destroy, initialize, pause, resume, start, stop, withPingRequestObserver, withPort, withProtocol, withScheme
      • Methods inherited from interface org.refcodes.rest.HttpRegistryUrlAccessor

        getHttpRegistryUrl
      • Methods inherited from interface org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlMutator

        setHttpRegistryUrl
      • Methods inherited from interface org.refcodes.rest.HttpRegistryUrlAccessor.HttpRegistryUrlProperty

        letHttpRegistryUrl
      • Methods inherited from interface org.refcodes.rest.HttpRestServer

        open, open, open, open, open, open, open, open, open, open, open, open, open, withBaseLocator, withClose, withCloseIn, withCloseQuietly, withDisableRequestCorrelation, withDisableSessionCorrelation, withEnableRequestCorrelation, withEnableSessionCorrelation, withHttpExceptionHandler, withHttpExceptionHandling, withKeyStoreDescriptor, withMaxConnections, withOpen, withOpen, withRealm, withRequestCorrelation, withSessionCorrelation
      • Methods inherited from interface org.refcodes.web.HttpsConnectionRequestObservable

        onConnectionRequest
      • Methods inherited from interface org.refcodes.rest.HttpServerDescriptorAccessor

        getHttpServerDescriptor
      • Methods inherited from interface org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorMutator

        setHttpServerDescriptor
      • Methods inherited from interface org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorProperty

        letHttpServerDescriptor
      • Methods inherited from interface org.refcodes.rest.HttpServerDescriptorFactory

        toHttpServerDescriptor, toHttpServerDescriptor, toHttpServerDescriptor, toHttpServerDescriptor
      • Methods inherited from interface org.refcodes.component.Initializable

        initializeUnchecked
      • Methods inherited from interface org.refcodes.component.Initializable.InitializeAutomaton

        isInitalizable
      • Methods inherited from interface org.refcodes.component.InitializedAccessor

        isInitialized
      • Methods inherited from interface org.refcodes.mixin.InstanceIdAccessor

        getInstanceId
      • Methods inherited from interface org.refcodes.mixin.InstanceIdAccessor.InstanceIdMutator

        setInstanceId
      • Methods inherited from interface org.refcodes.mixin.InstanceIdAccessor.InstanceIdProperty

        letInstanceId
      • Methods inherited from interface org.refcodes.web.IpAddressAccessor

        getIpAddress, toCidrNotation
      • Methods inherited from interface org.refcodes.web.IpAddressAccessor.IpAddressMutator

        fromCidrNotation, setIpAddress
      • Methods inherited from interface org.refcodes.web.IpAddressAccessor.IpAddressProperty

        letIpAddress
      • Methods inherited from interface org.refcodes.security.KeyStoreDescriptorAccessor

        getKeyStoreDescriptor
      • Methods inherited from interface org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorMutator

        setKeyStoreDescriptor
      • Methods inherited from interface org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorProperty

        letKeyStoreDescriptor
      • Methods inherited from interface org.refcodes.component.LifeCycleStatusAccessor

        getLifeCycleStatus
      • Methods inherited from interface org.refcodes.io.MaxConnectionsAccessor

        getMaxConnections
      • Methods inherited from interface org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsMutator

        setMaxConnections
      • Methods inherited from interface org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsProperty

        letMaxConnections
      • Methods inherited from interface org.refcodes.web.MediaTypeFactoryLookup

        getFactoryMediaTypes, hasMediaTypeFactory, toMediaTypeFactory
      • Methods inherited from interface org.refcodes.web.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookup

        addMediaTypeFactory
      • Methods inherited from interface org.refcodes.observer.Observable

        hasObserverSubscription, subscribeObserver, unsubscribeObserver
      • Methods inherited from interface org.refcodes.observer.Observers

        disableObservers, enableObservers, isObserversActive, observers, setObserversActive
      • Methods inherited from interface org.refcodes.component.Openable

        openUnchecked
      • Methods inherited from interface org.refcodes.component.Pausable

        pauseUnchecked
      • Methods inherited from interface org.refcodes.component.Pausable.PauseAutomaton

        isPausable, isPaused
      • Methods inherited from interface org.refcodes.rest.PingPathAccessor

        getPingPath
      • Methods inherited from interface org.refcodes.rest.PingPathAccessor.PingPathMutator

        setPingPath
      • Methods inherited from interface org.refcodes.rest.PingPathAccessor.PingPathProperty

        letPingPath
      • Methods inherited from interface org.refcodes.rest.PingRequestObserver

        onPingRequest
      • Methods inherited from interface org.refcodes.rest.PingRequestObserverAccessor

        getPingRequestObserver
      • Methods inherited from interface org.refcodes.mixin.PortAccessor

        getPort
      • Methods inherited from interface org.refcodes.mixin.PortAccessor.PortMutator

        setPort
      • Methods inherited from interface org.refcodes.mixin.PortAccessor.PortProperty

        letPort
      • Methods inherited from interface org.refcodes.web.RealmAccessor

        getRealm
      • Methods inherited from interface org.refcodes.web.RealmAccessor.RealmMutator

        setRealm
      • Methods inherited from interface org.refcodes.web.RealmAccessor.RealmProperty

        letRealm
      • Methods inherited from interface org.refcodes.runtime.RequestCorrelation

        disableRequestCorrelation, enableRequestCorrelation, hasRequestCorrelation, setRequestCorrelation
      • Methods inherited from interface org.refcodes.rest.RestServer

        onDelete, onDelete, onGet, onGet, onPost, onPost, onPut, onPut, onRequest, onRequest, onRequest, onRequest, onRequest, withDisableObservers, withEnableObservers, withObserversActive
      • Methods inherited from interface org.refcodes.component.Resumable

        resumeUnchecked
      • Methods inherited from interface org.refcodes.component.Resumable.ResumeAutomaton

        isResumable
      • Methods inherited from interface org.refcodes.component.RunningAccessor

        isRunning
      • Methods inherited from interface org.refcodes.web.SchemeAccessor

        getScheme, toProtocol
      • Methods inherited from interface org.refcodes.web.SchemeAccessor.SchemeMutator

        setProtocol, setScheme
      • Methods inherited from interface org.refcodes.web.SchemeAccessor.SchemeProperty

        letProtocol, letScheme
      • Methods inherited from interface org.refcodes.runtime.SessionCorrelation

        disableSessionCorrelation, enableSessionCorrelation, hasSessionCorrelation, setSessionCorrelation
      • Methods inherited from interface org.refcodes.component.Startable

        startUnchecked
      • Methods inherited from interface org.refcodes.component.Startable.StartAutomaton

        isStartable
      • Methods inherited from interface org.refcodes.rest.StatusPathAccessor

        getStatusPath
      • Methods inherited from interface org.refcodes.rest.StatusPathAccessor.StatusPathMutator

        setStatusPath
      • Methods inherited from interface org.refcodes.rest.StatusPathAccessor.StatusPathProperty

        letStatusPath
      • Methods inherited from interface org.refcodes.rest.StatusRequestObserver

        setStatusRequestConsumer
      • Methods inherited from interface org.refcodes.rest.StatusRequestObserverAccessor

        getStatusRequestConsumer
      • Methods inherited from interface org.refcodes.component.Stoppable

        stopUnchecked
      • Methods inherited from interface org.refcodes.component.Stoppable.StopAutomaton

        isStoppable, isStopped
      • Methods inherited from interface org.refcodes.security.TrustStoreDescriptorAccessor

        getTrustStoreDescriptor
      • Methods inherited from interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator

        setTrustStoreDescriptor
      • Methods inherited from interface org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty

        letTrustStoreDescriptor
      • Methods inherited from interface org.refcodes.web.VirtualHostAccessor

        getVirtualHost
      • Methods inherited from interface org.refcodes.web.VirtualHostAccessor.VirtualHostMutator

        setVirtualHost
      • Methods inherited from interface org.refcodes.web.VirtualHostAccessor.VirtualHostProperty

        letVirtualHost
    • Method Detail

      • initialize

        default void initialize​(EurekaRegistryContext aRegistryContext)
                         throws org.refcodes.component.InitializeException
        Initializes the HttpRegistryRestServer by registering it at the Eureka service registry with a status such as "starting" or "initializing" or "not-ready-yet".
        Parameters:
        aRegistryContext - The context providing the descriptor of the server to be registered and the Url of the service registry to be used as well as the required truststore.
        Throws:
        org.refcodes.component.InitializeException - thrown in case initializing a component caused problems. Usually a method similar to "initialize()" throws such an exception.
      • initialize

        default void initialize​(String aAlias,
                                String aInstanceId,
                                org.refcodes.data.Scheme aScheme,
                                String aHost,
                                String aVirtualHost,
                                int[] aIpAddress,
                                int aPort,
                                String aPingPath,
                                org.refcodes.rest.RestRequestConsumer aPingRequestObserver,
                                org.refcodes.web.Url aRegistryUrl)
                         throws org.refcodes.component.InitializeException
        Initializes the HttpRegistryRestServer by registering it at the service registry with a status such as "starting" or "initializing" or "not-ready-yet".
        Specified by:
        initialize in interface org.refcodes.rest.HttpRegistryRestServer<EurekaServerDescriptor,​EurekaRestServer>
        Parameters:
        aAlias - The name ("alias") which identifies the server in the registry.
        aInstanceId - The TID 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.
        aPingPath - The path to use as health-check end-point by this server.
        aPingRequestObserver - The RestRequestConsumer hooking into a ping request.
        aRegistryUrl - The registry server where to register.
        Throws:
        org.refcodes.component.InitializeException - thrown in case initializing a component caused problems. Usually a method similar to "initialize()" throws such an exception.
      • initialize

        default void initialize​(String aAlias,
                                String aInstanceId,
                                org.refcodes.data.Scheme aScheme,
                                String aHost,
                                String aVirtualHost,
                                int[] aIpAddress,
                                int aPort,
                                String aPingPath,
                                org.refcodes.rest.RestRequestConsumer aPingRequestObserver,
                                String aStatusPath,
                                org.refcodes.rest.RestRequestConsumer aStatusRequestObserver,
                                String aHomePath,
                                org.refcodes.rest.RestRequestConsumer aHomeRequestObserver,
                                EurekaDataCenterType aDataCenterType,
                                org.refcodes.web.Url aRegistryUrl,
                                org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
                         throws org.refcodes.component.InitializeException
        Initializes the HttpRegistryRestServer by registering it at the service registry.
        Parameters:
        aAlias - The name ("alias") which identifies the server in the registry.
        aInstanceId - The TID 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 not
        aPingPath - The path to use as health-check end-point by this server.
        aPingRequestObserver - The health-check request observer hook.
        aStatusPath - The path to use as status-page end-point by this
        aStatusRequestObserver - The status-page request observer hook.
        aHomePath - The path to use as home-page end-point by this
        aHomeRequestObserver - The home-page request observer hook.
        aDataCenterType - The type of the data center your EurekaRestServer is running in.
        aRegistryUrl - The registry server where to register.
        aStoreDescriptor - The descriptor describing the truststore for (optionally) opening an HTTPS connection to the registry server.
        Throws:
        org.refcodes.component.InitializeException - thrown in case initializing a component caused problems. Usually a method similar to "initialize()" throws such an exception.
      • initialize

        void initialize​(EurekaServerDescriptor aServerDescriptor,
                        org.refcodes.rest.RestRequestConsumer aPingRequestObserver,
                        org.refcodes.rest.RestRequestConsumer aStatusRequestObserver,
                        org.refcodes.rest.RestRequestConsumer aHomeRequestObserver,
                        org.refcodes.web.Url aRegistryUrl,
                        org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
                 throws org.refcodes.component.InitializeException
        Initializes the HttpRegistryRestServer by registering it at the service registry.
        Parameters:
        aServerDescriptor - The descriptor describing the server.
        aPingRequestObserver - The health-check request observer hook.
        aStatusRequestObserver - The status-page request observer hook.
        aHomeRequestObserver - The home-page request observer hook.
        aRegistryUrl - The registry server where to register.
        aStoreDescriptor - The descriptor describing the truststore for (optionally) opening an HTTPS connection to the registry server.
        Throws:
        org.refcodes.component.InitializeException - thrown in case initializing a component caused problems. Usually a method similar to "initialize()" throws such an exception.
      • initialize

        default void initialize​(EurekaServerDescriptor aServerDescriptor,
                                org.refcodes.web.Url aRegistryUrl,
                                org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
                         throws org.refcodes.component.InitializeException
        Specified by:
        initialize in interface org.refcodes.rest.HttpRegistry<EurekaServerDescriptor,​EurekaRestServer>
        Throws:
        org.refcodes.component.InitializeException
      • withStatusRequestConsumer

        default EurekaRestServer withStatusRequestConsumer​(org.refcodes.rest.RestRequestConsumer aRequestConsumer)
        Specified by:
        withStatusRequestConsumer in interface org.refcodes.rest.StatusRequestObserverAccessor.StatusRequestObserverBuilder<EurekaRestServer>
      • withHomeRequestConsumer

        default EurekaRestServer withHomeRequestConsumer​(org.refcodes.rest.RestRequestConsumer aRequestConsumer)
        Specified by:
        withHomeRequestConsumer in interface org.refcodes.rest.HomeRequestObserverAccessor.HomeRequestObserverBuilder<EurekaRestServer>