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>>
TheHttpRegistryContext.HttpRegistryContextBuilder
interface extends theHttpRegistryContext
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
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 theHttpServerDescriptor
for theHttpServerDescriptor
property.default HttpRegistryContext.HttpRegistryContextBuilder<DESC>
withPingRequestObserver(RestRequestObserver aRequestObserver)
Sets the pingRestRequestObserver
for the pingRestRequestObserver
property.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:
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(RestRequestObserver aRequestObserver)
Sets the pingRestRequestObserver
for the pingRestRequestObserver
property.- Specified by:
withPingRequestObserver
in interfacePingRequestObserverAccessor.PingRequestObserverBuilder<DESC extends HttpServerDescriptor>
- Parameters:
aRequestObserver
- The pingRestRequestObserver
to be stored by the pingRestRequestObserver
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>
-
-