Module org.refcodes.rest
Package org.refcodes.rest
Interface HttpRegistryContext.HttpRegistryContextBuilder<DESC extends HttpServerDescriptor>
- Type Parameters:
DESC
- TheHttpServerDescriptor
which 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>>
The
HttpRegistryContext.HttpRegistryContextBuilder
interface extends the
HttpRegistryContext
with 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
Modifier and TypeMethodDescriptionwithHttpRegistryUrl
(org.refcodes.web.Url aUrl) Sets the URL for the URL property locating the service registry registry.withHttpServerDescriptor
(DESC aServerDescriptor) Sets theHttpServerDescriptor
for theHttpServerDescriptor
property.withPingRequestObserver
(RestRequestConsumer aRequestConsumer) Sets the pingRestRequestConsumer
for the pingRestRequestConsumer
property.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.HttpRegistryUrlAccessor.HttpRegistryUrlProperty
letHttpRegistryUrl
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.PingRequestObserverAccessor
getPingRequestObserver
Methods inherited from interface org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverMutator
setPingRequestObserver
Methods inherited from interface org.refcodes.rest.PingRequestObserverAccessor.PingRequestObserverProperty
letPingRequestObserver
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
-
Method Details
-
withHttpRegistryUrl
default HttpRegistryContext.HttpRegistryContextBuilder<DESC> withHttpRegistryUrl(org.refcodes.web.Url aUrl) Sets the URL for the URL property locating the service registry registry.- Specified by:
withHttpRegistryUrl
in 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 theHttpServerDescriptor
for theHttpServerDescriptor
property.- Specified by:
withHttpServerDescriptor
in interfaceHttpServerDescriptorAccessor.HttpServerDescriptorBuilder<DESC extends HttpServerDescriptor,
HttpRegistryContext.HttpRegistryContextBuilder<DESC extends HttpServerDescriptor>> - Parameters:
aServerDescriptor
- TheHttpServerDescriptor
to be stored by theHttpServerDescriptor
property.- Returns:
- The builder for applying multiple build operations.
-
withPingRequestObserver
default HttpRegistryContext.HttpRegistryContextBuilder<DESC> withPingRequestObserver(RestRequestConsumer aRequestConsumer) Sets the pingRestRequestConsumer
for the pingRestRequestConsumer
property.- Specified by:
withPingRequestObserver
in interfacePingRequestObserverAccessor.PingRequestObserverBuilder<DESC extends HttpServerDescriptor>
- Parameters:
aRequestConsumer
- The pingRestRequestConsumer
to be stored by the pingRestRequestConsumer
property.- Returns:
- The builder for applying multiple build operations.
-
withTrustStoreDescriptor
default HttpRegistryContext.HttpRegistryContextBuilder<DESC> withTrustStoreDescriptor(org.refcodes.security.TrustStoreDescriptor aStoreDescriptor) - Specified by:
withTrustStoreDescriptor
in interfaceorg.refcodes.security.TrustStoreDescriptorAccessor.TrustStoreDescriptorBuilder<DESC extends HttpServerDescriptor>
-