public static class RegistryClient.Factory extends Object
RegistryClients.| Modifier and Type | Method and Description |
|---|---|
RegistryClient |
newRegistryClient()
Creates a new
RegistryClient. |
RegistryClient.Factory |
setAllowHttp(boolean allowHttp)
Sets whether or not
HTTP should be allowed (credentials should not be sent when set
to true). |
RegistryClient.Factory |
setAuthorization(Authorization authorization)
Sets the authentication credentials to use to authenticate with the registry.
|
public RegistryClient.Factory setAllowHttp(boolean allowHttp)
HTTP should be allowed (credentials should not be sent when set
to true). Defaults to false.allowHttp - if true, allows HTTP connections; otherwise, only HTTPS connections are allowedpublic RegistryClient.Factory setAuthorization(@Nullable Authorization authorization)
authorization - the Authorization to access the registry/repositorypublic RegistryClient newRegistryClient()
RegistryClient.RegistryClientCopyright © 2018. All rights reserved.