Package org.refcodes.rest
Interface HttpRegistryContext.HttpRegistryContextBuilder<DESC extends HttpServerDescriptor>
-
- Type Parameters:
DESC- TheHttpServerDescriptorwhich describes a server to be registered at a discovery registry so clients can resolve the server's URL.
- All Superinterfaces:
HttpRegistryUrlAccessor,HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<HttpRegistryContext.HttpRegistryContextBuilder<DESC>>,HttpRegistryUrlAccessor.HttpRegistryUrlMutator,HttpRegistryUrlAccessor.HttpRegistryUrlProperty,HttpServerDescriptorAccessor<DESC>,HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC,HttpRegistryContext.HttpRegistryContextBuilder<DESC>>,HttpServerDescriptorAccessor.HttpServerDescriptorMutator<DESC>,HttpServerDescriptorAccessor.HttpServerDescriptorProperty<DESC>,PingRequestObserverAccessor,PingRequestObserverAccessor.PingRequestObserverBuilder<HttpRegistryContext.HttpRegistryContextBuilder<DESC>>,PingRequestObserverAccessor.PingRequestObserverMutator,PingRequestObserverAccessor.PingRequestObserverProperty,org.refcodes.security.TrustStoreDescriptorAccessor,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<HttpRegistryContext.HttpRegistryContextBuilder<DESC>>,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorMutator,org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty
- All Known Implementing Classes:
AbstractHttpRegistryContextBuilder
- Enclosing interface:
- HttpRegistryContext<DESC extends HttpServerDescriptor>
public static interface HttpRegistryContext.HttpRegistryContextBuilder<DESC extends HttpServerDescriptor> extends HttpRegistryUrlAccessor.HttpRegistryUrlProperty, HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<HttpRegistryContext.HttpRegistryContextBuilder<DESC>>, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorProperty, org.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<HttpRegistryContext.HttpRegistryContextBuilder<DESC>>, HttpServerDescriptorAccessor.HttpServerDescriptorProperty<DESC>, HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC,HttpRegistryContext.HttpRegistryContextBuilder<DESC>>, PingRequestObserverAccessor.PingRequestObserverProperty, PingRequestObserverAccessor.PingRequestObserverBuilder<HttpRegistryContext.HttpRegistryContextBuilder<DESC>>
TheHttpRegistryContext.HttpRegistryContextBuilderinterface extends theHttpRegistryContextwith builder functionality as of the builder pattern.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.rest.HttpRegistryUrlAccessor
HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<B extends HttpRegistryUrlAccessor.HttpRegistryUrlBuilder<B>>, HttpRegistryUrlAccessor.HttpRegistryUrlMutator, HttpRegistryUrlAccessor.HttpRegistryUrlProperty
-
Nested classes/interfaces inherited from interface org.refcodes.rest.HttpServerDescriptorAccessor
HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC extends HttpServerDescriptor,B extends HttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC,B>>, HttpServerDescriptorAccessor.HttpServerDescriptorMutator<DESC extends HttpServerDescriptor>, HttpServerDescriptorAccessor.HttpServerDescriptorProperty<DESC extends HttpServerDescriptor>
-
Nested classes/interfaces inherited from interface org.refcodes.rest.PingRequestObserverAccessor
PingRequestObserverAccessor.PingRequestObserverBuilder<B extends PingRequestObserverAccessor.PingRequestObserverBuilder<B>>, PingRequestObserverAccessor.PingRequestObserverMutator, PingRequestObserverAccessor.PingRequestObserverProperty
-
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
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default HttpRegistryContext.HttpRegistryContextBuilder<DESC>withHttpRegistryUrl(org.refcodes.net.Url aUrl)Sets the URL for the URL property locating the service registry registry.default HttpRegistryContext.HttpRegistryContextBuilder<DESC>withHttpServerDescriptor(DESC aServerDescriptor)Sets theHttpServerDescriptorfor theHttpServerDescriptorproperty.default HttpRegistryContext.HttpRegistryContextBuilder<DESC>withPingRequestObserver(RestRequestObserver aRequestObserver)Sets the pingRestRequestObserverfor the pingRestRequestObserverproperty.default HttpRegistryContext.HttpRegistryContextBuilder<DESC>withTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)-
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.HttpServerDescriptorAccessor
getHttpServerDescriptor
-
Methods inherited from interface org.refcodes.rest.HttpServerDescriptorAccessor.HttpServerDescriptorMutator
setHttpServerDescriptor
-
Methods inherited from interface org.refcodes.rest.PingRequestObserverAccessor
getPingRequestObserver
-
Methods inherited from interface org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverMutator
setPingRequestObserver
-
-
-
-
Method Detail
-
withHttpRegistryUrl
default HttpRegistryContext.HttpRegistryContextBuilder<DESC> withHttpRegistryUrl(org.refcodes.net.Url aUrl)
Sets the URL for the URL property locating the service registry registry.- Specified by:
withHttpRegistryUrlin interfaceHttpRegistryUrlAccessor.HttpRegistryUrlBuilder<DESC extends HttpServerDescriptor>- Parameters:
aUrl- The service registry registry URL to be stored by the URL property.- Returns:
- The builder for applying multiple build operations.
-
withHttpServerDescriptor
default HttpRegistryContext.HttpRegistryContextBuilder<DESC> withHttpServerDescriptor(DESC aServerDescriptor)
Sets theHttpServerDescriptorfor theHttpServerDescriptorproperty.- Specified by:
withHttpServerDescriptorin interfaceHttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC extends HttpServerDescriptor,HttpRegistryContext.HttpRegistryContextBuilder<DESC extends HttpServerDescriptor>>- Parameters:
aServerDescriptor- TheHttpServerDescriptorto be stored by theHttpServerDescriptorproperty.- Returns:
- The builder for applying multiple build operations.
-
withPingRequestObserver
default HttpRegistryContext.HttpRegistryContextBuilder<DESC> withPingRequestObserver(RestRequestObserver aRequestObserver)
Sets the pingRestRequestObserverfor the pingRestRequestObserverproperty.- Specified by:
withPingRequestObserverin interfacePingRequestObserverAccessor.PingRequestObserverBuilder<DESC extends HttpServerDescriptor>- Parameters:
aRequestObserver- The pingRestRequestObserverto be stored by the pingRestRequestObserverproperty.- Returns:
- The builder for applying multiple build operations.
-
withTrustStoreDescriptor
default HttpRegistryContext.HttpRegistryContextBuilder<DESC> withTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor)
- Specified by:
withTrustStoreDescriptorin interfaceorg.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<DESC extends HttpServerDescriptor>
-
-