org.refcodes.mixin.CredentialsAccessor
, org.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<Url.UrlBuilder>
, org.refcodes.mixin.CredentialsAccessor.CredentialsMutator
, org.refcodes.mixin.CredentialsAccessor.CredentialsProperty
, org.refcodes.mixin.Dumpable
, FragmentAccessor
, FragmentAccessor.FragmentBuilder<Url.UrlBuilder>
, FragmentAccessor.FragmentMutator
, FragmentAccessor.FragmentProperty
, HostAccessor
, HostAccessor.HostBuilder<Url.UrlBuilder>
, HostAccessor.HostMutator
, HostAccessor.HostProperty
, org.refcodes.mixin.IdentityAccessor
, org.refcodes.mixin.IdentityAccessor.IdentityBuilder<Url.UrlBuilder>
, org.refcodes.mixin.IdentityAccessor.IdentityMutator
, org.refcodes.mixin.IdentityAccessor.IdentityProperty
, IpAddressAccessor
, IpAddressAccessor.IpAddressBuilder<Url.UrlBuilder>
, IpAddressAccessor.IpAddressMutator
, IpAddressAccessor.IpAddressProperty
, org.refcodes.mixin.PathAccessor
, org.refcodes.mixin.PathAccessor.PathBuilder<Url.UrlBuilder>
, org.refcodes.mixin.PathAccessor.PathMutator
, org.refcodes.mixin.PathAccessor.PathProperty
, org.refcodes.mixin.PortAccessor
, org.refcodes.mixin.PortAccessor.PortBuilder<Url.UrlBuilder>
, org.refcodes.mixin.PortAccessor.PortMutator
, org.refcodes.mixin.PortAccessor.PortProperty
, QueryFieldsAccessor
, QueryFieldsAccessor.QueryFieldsBuilder<Url.UrlBuilder>
, QueryFieldsAccessor.QueryFieldsMutator
, QueryFieldsAccessor.QueryFieldsProperty
, SchemeAccessor
, SchemeAccessor.SchemeBuilder<Url.UrlBuilder>
, SchemeAccessor.SchemeMutator
, SchemeAccessor.SchemeProperty
, org.refcodes.mixin.SecretAccessor
, org.refcodes.mixin.SecretAccessor.SecretBuilder<Url.UrlBuilder>
, org.refcodes.mixin.SecretAccessor.SecretMutator
, org.refcodes.mixin.SecretAccessor.SecretProperty
, Url
UrlBuilderImpl
public static interface Url.UrlBuilder extends Url, SchemeAccessor.SchemeProperty, SchemeAccessor.SchemeBuilder<Url.UrlBuilder>, HostAccessor.HostProperty, HostAccessor.HostBuilder<Url.UrlBuilder>, IpAddressAccessor.IpAddressProperty, IpAddressAccessor.IpAddressBuilder<Url.UrlBuilder>, org.refcodes.mixin.PortAccessor.PortProperty, org.refcodes.mixin.PortAccessor.PortBuilder<Url.UrlBuilder>, org.refcodes.mixin.PathAccessor.PathProperty, org.refcodes.mixin.PathAccessor.PathBuilder<Url.UrlBuilder>, QueryFieldsAccessor.QueryFieldsProperty, QueryFieldsAccessor.QueryFieldsBuilder<Url.UrlBuilder>, FragmentAccessor.FragmentProperty, FragmentAccessor.FragmentBuilder<Url.UrlBuilder>, org.refcodes.mixin.CredentialsAccessor.CredentialsProperty, org.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<Url.UrlBuilder>
org.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<B extends org.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<B>>, org.refcodes.mixin.CredentialsAccessor.CredentialsMutator, org.refcodes.mixin.CredentialsAccessor.CredentialsProperty
FragmentAccessor.FragmentBuilder<B extends FragmentAccessor.FragmentBuilder<?>>, FragmentAccessor.FragmentMutator, FragmentAccessor.FragmentProperty
HostAccessor.HostBuilder<B extends HostAccessor.HostBuilder<?>>, HostAccessor.HostMutator, HostAccessor.HostProperty
org.refcodes.mixin.IdentityAccessor.IdentityBuilder<B extends org.refcodes.mixin.IdentityAccessor.IdentityBuilder<B>>, org.refcodes.mixin.IdentityAccessor.IdentityMutator, org.refcodes.mixin.IdentityAccessor.IdentityProperty
IpAddressAccessor.IpAddressBuilder<B extends IpAddressAccessor.IpAddressBuilder<B>>, IpAddressAccessor.IpAddressMutator, IpAddressAccessor.IpAddressProperty
org.refcodes.mixin.PathAccessor.PathBuilder<B extends org.refcodes.mixin.PathAccessor.PathBuilder<?>>, org.refcodes.mixin.PathAccessor.PathMutator, org.refcodes.mixin.PathAccessor.PathProperty
org.refcodes.mixin.PortAccessor.PortBuilder<B extends org.refcodes.mixin.PortAccessor.PortBuilder<B>>, org.refcodes.mixin.PortAccessor.PortMutator, org.refcodes.mixin.PortAccessor.PortProperty
QueryFieldsAccessor.QueryFieldsBuilder<B extends QueryFieldsAccessor.QueryFieldsBuilder<?>>, QueryFieldsAccessor.QueryFieldsMutator, QueryFieldsAccessor.QueryFieldsProperty
SchemeAccessor.SchemeBuilder<B extends SchemeAccessor.SchemeBuilder<B>>, SchemeAccessor.SchemeMutator, SchemeAccessor.SchemeProperty
org.refcodes.mixin.SecretAccessor.SecretBuilder<B extends org.refcodes.mixin.SecretAccessor.SecretBuilder<B>>, org.refcodes.mixin.SecretAccessor.SecretMutator, org.refcodes.mixin.SecretAccessor.SecretProperty
Url.UrlBuilder
Modifier and Type | Method | Description |
---|---|---|
default void |
fromUrl(String aUrl) |
|
default void |
fromURL(URL aUrl) |
|
default Url.UrlBuilder |
withCidrNotation(String aCidrNotation) |
Constructs the IP-Address from the given
String and sets it
for the IP-Address property. |
default Url.UrlBuilder |
withFragment(String aFragment) |
Sets the fragment to use and returns this builder as of the builder
pattern.
|
default Url.UrlBuilder |
withHost(String aHost) |
Sets the host to use and returns this builder as of the builder
pattern.
|
default Url.UrlBuilder |
withIdentity(String aIdentity) |
|
default Url.UrlBuilder |
withIpAddress(int[] aIpAddress) |
Sets the IP-Address for the IP-Address property.
|
default Url.UrlBuilder |
withPath(String aPath) |
|
default Url.UrlBuilder |
withPort(int aPort) |
|
default Url.UrlBuilder |
withProtocol(String aProtocol) |
Sets the protocol for the URL scheme.
|
default Url.UrlBuilder |
withQueryFields(FormFields aQueryFields) |
Sets the request Query-Fields to use and returns this builder as of
the Builder-Pattern.
|
default Url.UrlBuilder |
withScheme(org.refcodes.data.Scheme aScheme) |
Sets the UrlScheme for the URL scheme.
|
default Url.UrlBuilder |
withSecret(String aSecret) |
getFragment
setFragment
getHost
setHost
getIpAddress, toCidrNotation
fromCidrNotation, setIpAddress
getQueryFields
setQueryFields
getScheme, toProtocol
setProtocol, setScheme
default void fromUrl(String aUrl) throws MalformedURLException
aUrl
- The URL from which to determine the state.MalformedURLException
- in case the provided URL is considered
being malformed.default void fromURL(URL aUrl)
default Url.UrlBuilder withScheme(org.refcodes.data.Scheme aScheme)
withScheme
in interface SchemeAccessor.SchemeBuilder<Url.UrlBuilder>
aScheme
- The UrlScheme to be stored by the URL scheme.default Url.UrlBuilder withProtocol(String aProtocol)
withProtocol
in interface SchemeAccessor.SchemeBuilder<Url.UrlBuilder>
aProtocol
- The protocol to be stored by the URL scheme.default Url.UrlBuilder withHost(String aHost)
withHost
in interface HostAccessor.HostBuilder<Url.UrlBuilder>
aHost
- The host to be stored by the host property.HostAccessor.HostBuilder
instance to continue configuration.default Url.UrlBuilder withIpAddress(int[] aIpAddress)
withIpAddress
in interface IpAddressAccessor.IpAddressBuilder<Url.UrlBuilder>
aIpAddress
- The IP-Address to be stored by the IP-Address
property.default Url.UrlBuilder withCidrNotation(String aCidrNotation)
String
and sets it
for the IP-Address property.
The String
must be provided in CIDR notation as of
"https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation".withCidrNotation
in interface IpAddressAccessor.IpAddressBuilder<Url.UrlBuilder>
aCidrNotation
- The IP-Address String
in CIDR notation
to be converted and stored by the IP-Address property.default Url.UrlBuilder withPort(int aPort)
withPort
in interface org.refcodes.mixin.PortAccessor.PortBuilder<Url.UrlBuilder>
default Url.UrlBuilder withPath(String aPath)
withPath
in interface org.refcodes.mixin.PathAccessor.PathBuilder<Url.UrlBuilder>
default Url.UrlBuilder withQueryFields(FormFields aQueryFields)
withQueryFields
in interface QueryFieldsAccessor.QueryFieldsBuilder<Url.UrlBuilder>
aQueryFields
- The request Query-Fields to be stored by the form
fields property.FormFieldsAccessor.FormFieldsBuilder
instance to continue
configuration.default Url.UrlBuilder withFragment(String aFragment)
withFragment
in interface FragmentAccessor.FragmentBuilder<Url.UrlBuilder>
aFragment
- The fragment to be stored by the fragment property.FragmentAccessor.FragmentBuilder
instance to continue
configuration.default Url.UrlBuilder withIdentity(String aIdentity)
withIdentity
in interface org.refcodes.mixin.IdentityAccessor.IdentityBuilder<Url.UrlBuilder>
default Url.UrlBuilder withSecret(String aSecret)
withSecret
in interface org.refcodes.mixin.SecretAccessor.SecretBuilder<Url.UrlBuilder>
Copyright © 2018. All rights reserved.