Package org.refcodes.net
Class UrlBuilderImpl
- java.lang.Object
-
- org.refcodes.net.UrlBuilderImpl
-
- All Implemented Interfaces:
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
,org.refcodes.mixin.IdentityAccessor
,org.refcodes.mixin.IdentityAccessor.IdentityBuilder<Url.UrlBuilder>
,org.refcodes.mixin.IdentityAccessor.IdentityMutator
,org.refcodes.mixin.IdentityAccessor.IdentityProperty
,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
,org.refcodes.mixin.SecretAccessor
,org.refcodes.mixin.SecretAccessor.SecretBuilder<Url.UrlBuilder>
,org.refcodes.mixin.SecretAccessor.SecretMutator
,org.refcodes.mixin.SecretAccessor.SecretProperty
,FragmentAccessor
,FragmentAccessor.FragmentBuilder<Url.UrlBuilder>
,FragmentAccessor.FragmentMutator
,FragmentAccessor.FragmentProperty
,HostAccessor
,HostAccessor.HostBuilder<Url.UrlBuilder>
,HostAccessor.HostMutator
,HostAccessor.HostProperty
,IpAddressAccessor
,IpAddressAccessor.IpAddressBuilder<Url.UrlBuilder>
,IpAddressAccessor.IpAddressMutator
,IpAddressAccessor.IpAddressProperty
,QueryFieldsAccessor
,QueryFieldsAccessor.QueryFieldsBuilder<Url.UrlBuilder>
,QueryFieldsAccessor.QueryFieldsMutator
,QueryFieldsAccessor.QueryFieldsProperty
,SchemeAccessor
,SchemeAccessor.SchemeBuilder<Url.UrlBuilder>
,SchemeAccessor.SchemeMutator
,SchemeAccessor.SchemeProperty
,Url
,Url.UrlBuilder
public class UrlBuilderImpl extends java.lang.Object implements Url.UrlBuilder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.CredentialsAccessor
org.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<B extends org.refcodes.mixin.CredentialsAccessor.CredentialsBuilder<B>>, org.refcodes.mixin.CredentialsAccessor.CredentialsMutator, org.refcodes.mixin.CredentialsAccessor.CredentialsProperty
-
Nested classes/interfaces inherited from interface org.refcodes.net.FragmentAccessor
FragmentAccessor.FragmentBuilder<B extends FragmentAccessor.FragmentBuilder<?>>, FragmentAccessor.FragmentMutator, FragmentAccessor.FragmentProperty
-
Nested classes/interfaces inherited from interface org.refcodes.net.HostAccessor
HostAccessor.HostBuilder<B extends HostAccessor.HostBuilder<?>>, HostAccessor.HostMutator, HostAccessor.HostProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.IdentityAccessor
org.refcodes.mixin.IdentityAccessor.IdentityBuilder<B extends org.refcodes.mixin.IdentityAccessor.IdentityBuilder<B>>, org.refcodes.mixin.IdentityAccessor.IdentityMutator, org.refcodes.mixin.IdentityAccessor.IdentityProperty
-
Nested classes/interfaces inherited from interface org.refcodes.net.IpAddressAccessor
IpAddressAccessor.IpAddressBuilder<B extends IpAddressAccessor.IpAddressBuilder<B>>, IpAddressAccessor.IpAddressMutator, IpAddressAccessor.IpAddressProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.PathAccessor
org.refcodes.mixin.PathAccessor.PathBuilder<B extends org.refcodes.mixin.PathAccessor.PathBuilder<?>>, org.refcodes.mixin.PathAccessor.PathMutator, org.refcodes.mixin.PathAccessor.PathProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.PortAccessor
org.refcodes.mixin.PortAccessor.PortBuilder<B extends org.refcodes.mixin.PortAccessor.PortBuilder<B>>, org.refcodes.mixin.PortAccessor.PortMutator, org.refcodes.mixin.PortAccessor.PortProperty
-
Nested classes/interfaces inherited from interface org.refcodes.net.QueryFieldsAccessor
QueryFieldsAccessor.QueryFieldsBuilder<B extends QueryFieldsAccessor.QueryFieldsBuilder<?>>, QueryFieldsAccessor.QueryFieldsMutator, QueryFieldsAccessor.QueryFieldsProperty
-
Nested classes/interfaces inherited from interface org.refcodes.net.SchemeAccessor
SchemeAccessor.SchemeBuilder<B extends SchemeAccessor.SchemeBuilder<B>>, SchemeAccessor.SchemeMutator, SchemeAccessor.SchemeProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.SecretAccessor
org.refcodes.mixin.SecretAccessor.SecretBuilder<B extends org.refcodes.mixin.SecretAccessor.SecretBuilder<B>>, org.refcodes.mixin.SecretAccessor.SecretMutator, org.refcodes.mixin.SecretAccessor.SecretProperty
-
Nested classes/interfaces inherited from interface org.refcodes.net.Url
Url.UrlBuilder
-
-
Constructor Summary
Constructors Constructor Description UrlBuilderImpl()
Default constructor.UrlBuilderImpl(java.lang.String aUrl)
Constructs anUrl.UrlBuilder
from the provided URLString
.UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, int aPort)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, FormFields aQueryFields)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, FormFields aQueryFields, java.lang.String aFragment)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, FormFields aQueryFields)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, FormFields aQueryFields, java.lang.String aFragment)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(java.lang.String aUrl, FormFields aQueryFields)
Constructs anUrl.UrlBuilder
from the provided URLString
.UrlBuilderImpl(java.lang.String aUrl, FormFields aQueryFields, java.lang.String aFragment)
Constructs anUrl.UrlBuilder
from the provided URLString
.UrlBuilderImpl(java.net.URL aURL)
Constructs anUrl.UrlBuilder
from the providedURL
instance.UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, FormFields aQueryFields)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, FormFields aQueryFields, java.lang.String aFragment)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, FormFields aQueryFields)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, FormFields aQueryFields, java.lang.String aFragment)
Constructs anUrl.UrlBuilder
with the common attributes.UrlBuilderImpl(Url aUrl)
Creates anUrl.UrlBuilder
from the providedUrl
.UrlBuilderImpl(Url aUrl, java.lang.String... aPaths)
UrlBuilderImpl(Url aUrl, Url aOtherUrl)
Constructs a newUrl.UrlBuilder
from the givenUrl
instances by adding the otherUrl
's data to the firstUrl
's data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFragment()
Retrieves the fragment from the fragment property.java.lang.String
getHost()
Retrieves the host from the host property.java.lang.String
getIdentity()
int[]
getIpAddress()
Retrieves the IP-Address from the IP-Address property.java.lang.String
getPath()
int
getPort()
FormFields
getQueryFields()
Retrieves the request Query-Fields from the request Query-Fields property.org.refcodes.data.Scheme
getScheme()
Retrieves the UrlScheme from the URL scheme.java.lang.String
getSecret()
void
setFragment(java.lang.String aFragment)
Sets the fragment for the fragment property.void
setHost(java.lang.String aHost)
Sets the host for the host property.void
setIdentity(java.lang.String aIdentity)
void
setIpAddress(int[] aIpAddress)
Sets the IP-Address for the IP-Address property.void
setPath(java.lang.String aPath)
void
setPort(int aPort)
void
setProtocol(java.lang.String aProtocol)
Sets the protocolString
representation for the scheme property.void
setQueryFields(FormFields aQueryFields)
Sets the request Query-Fields for the request Query-Fields property.void
setScheme(org.refcodes.data.Scheme aScheme)
Sets the UrlScheme for the URL scheme.void
setSecret(java.lang.String aSecret)
java.lang.String
toProtocol()
Retrieves the protocol representation from theScheme
.java.lang.String
toString()
-
Methods inherited from interface org.refcodes.net.IpAddressAccessor
toCidrNotation
-
Methods inherited from interface org.refcodes.net.IpAddressAccessor.IpAddressMutator
fromCidrNotation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.refcodes.net.Url.UrlBuilder
addToQueryFields, addToQueryFields, appendToPath, appendToPath, fromUrl, fromURL, withAddToQueryFields, withAddToQueryFields, withAppendToPath, withAppendToPath, withCidrNotation, withFragment, withHost, withIdentity, withIpAddress, withPath, withPort, withProtocol, withQueryFields, withScheme, withSecret
-
-
-
-
Constructor Detail
-
UrlBuilderImpl
public UrlBuilderImpl()
Default constructor. Make sure to set required attributes for a valid URL.
-
UrlBuilderImpl
public UrlBuilderImpl(Url aUrl)
Creates anUrl.UrlBuilder
from the providedUrl
.- Parameters:
aUrl
- TheUrl
from which to construct this instance.
-
UrlBuilderImpl
public UrlBuilderImpl(java.lang.String aUrl) throws java.net.MalformedURLException
Constructs anUrl.UrlBuilder
from the provided URLString
.- Parameters:
aUrl
- The URLString
to be parsed. The URL consists of the scheme (protocol), the identify and the secret (optional), the host as well as an optional port and the (optional) path.- Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
UrlBuilderImpl
public UrlBuilderImpl(java.lang.String aUrl, FormFields aQueryFields) throws java.net.MalformedURLException
Constructs anUrl.UrlBuilder
from the provided URLString
.- Parameters:
aUrl
- The URLString
to be parsed. The URL consists of the scheme (protocol), the identify and the secret (optional), the host as well as an optional port and the (optional) path.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.- Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
UrlBuilderImpl
public UrlBuilderImpl(java.lang.String aUrl, FormFields aQueryFields, java.lang.String aFragment) throws java.net.MalformedURLException
Constructs anUrl.UrlBuilder
from the provided URLString
.- Parameters:
aUrl
- The URLString
to be parsed. The URL consists of the scheme (protocol), the identify and the secret (optional), the host as well as an optional port and the (optional) path.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aFragment
- The fragment to be set.- Throws:
java.net.MalformedURLException
- in case the provided URL is considered being malformed.
-
UrlBuilderImpl
public UrlBuilderImpl(java.net.URL aURL)
Constructs anUrl.UrlBuilder
from the providedURL
instance.- Parameters:
aURL
- TheURL
to be used.
-
UrlBuilderImpl
public UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.
-
UrlBuilderImpl
public UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.
-
UrlBuilderImpl
public UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.
-
UrlBuilderImpl
public UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, FormFields aQueryFields)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.
-
UrlBuilderImpl
public UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, int aPort, java.lang.String aPath, FormFields aQueryFields, java.lang.String aFragment)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aFragment
- The fragment to be set.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.
-
UrlBuilderImpl
public UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aProtocol
- The protocolString
(e.g. "http://" or "https://") to be used for the destination URL.aHost
- The host to which the destination URL is to point to.
-
UrlBuilderImpl
public UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, int aPort)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aProtocol
- The protocolString
(e.g. "http://" or "https://") to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.
-
UrlBuilderImpl
public UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aProtocol
- The protocolString
(e.g. "http://" or "https://") to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.
-
UrlBuilderImpl
public UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, FormFields aQueryFields)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aProtocol
- The protocolString
(e.g. "http://" or "https://") to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.
-
UrlBuilderImpl
public UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, int aPort, java.lang.String aPath, FormFields aQueryFields, java.lang.String aFragment)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aProtocol
- The protocolString
(e.g. "http://" or "https://") to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPort
- The port to be used when connecting to the host.aPath
- The path on the host to which the base destination URL is to point to.aFragment
- The fragment to be set.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.
-
UrlBuilderImpl
public UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.
-
UrlBuilderImpl
public UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, FormFields aQueryFields)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.
-
UrlBuilderImpl
public UrlBuilderImpl(org.refcodes.data.Scheme aScheme, java.lang.String aHost, java.lang.String aPath, FormFields aQueryFields, java.lang.String aFragment)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aScheme
- TheScheme
(e.g. HTTP or HTTPS) to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aFragment
- The fragment to be set.
-
UrlBuilderImpl
public UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aProtocol
- The protocolString
(e.g. "http://" or "https://") to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.
-
UrlBuilderImpl
public UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, FormFields aQueryFields)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aProtocol
- The protocolString
(e.g. "http://" or "https://") to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.
-
UrlBuilderImpl
public UrlBuilderImpl(java.lang.String aProtocol, java.lang.String aHost, java.lang.String aPath, FormFields aQueryFields, java.lang.String aFragment)
Constructs anUrl.UrlBuilder
with the common attributes.- Parameters:
aProtocol
- The protocolString
(e.g. "http://" or "https://") to be used for the destination URL.aHost
- The host to which the destination URL is to point to.aPath
- The path on the host to which the base destination URL is to point to.aQueryFields
- The Query-Fields to be used for the HTTP Query-String.aFragment
- The fragment to be set.
-
-
Method Detail
-
getScheme
public org.refcodes.data.Scheme getScheme()
Retrieves the UrlScheme from the URL scheme.- Specified by:
getScheme
in interfaceSchemeAccessor
- Returns:
- The UrlScheme stored by the URL scheme.
-
toProtocol
public java.lang.String toProtocol()
Retrieves the protocol representation from theScheme
. In case of a scheme unknown by theScheme
enumeration, thenSchemeAccessor.getScheme()
might return null whilstSchemeAccessor.toProtocol()
still retrieves the unknown scheme's protocol representation (as ofSchemeAccessor.SchemeMutator.setProtocol(String)
).- Specified by:
toProtocol
in interfaceSchemeAccessor
- Returns:
- The protocol representation for the URL.
-
setScheme
public void setScheme(org.refcodes.data.Scheme aScheme)
Sets the UrlScheme for the URL scheme.- Specified by:
setScheme
in interfaceSchemeAccessor.SchemeMutator
- Parameters:
aScheme
- The UrlScheme to be stored by the URL scheme.
-
setProtocol
public void setProtocol(java.lang.String aProtocol)
Sets the protocolString
representation for the scheme property. You must provide the scheme's specific part as well. In case of HTTP, provide "http://". In case your provided protocol is unknown by theScheme
enumeration, then the scheme property will not be set, though theSchemeAccessor.toProtocol()
still returns your protocol.- Specified by:
setProtocol
in interfaceSchemeAccessor.SchemeMutator
- Parameters:
aProtocol
- The UrlScheme'sString
representation to be stored by the URL scheme.
-
getHost
public java.lang.String getHost()
Retrieves the host from the host property.- Specified by:
getHost
in interfaceHostAccessor
- Returns:
- The host stored by the host property.
-
setHost
public void setHost(java.lang.String aHost)
Sets the host for the host property.- Specified by:
setHost
in interfaceHostAccessor.HostMutator
- Parameters:
aHost
- The host to be stored by the host property.
-
getIpAddress
public int[] getIpAddress()
Retrieves the IP-Address from the IP-Address property.- Specified by:
getIpAddress
in interfaceIpAddressAccessor
- Returns:
- The IP-Address stored by the IP-Address property.
-
setIpAddress
public void setIpAddress(int[] aIpAddress)
Sets the IP-Address for the IP-Address property.- Specified by:
setIpAddress
in interfaceIpAddressAccessor.IpAddressMutator
- Parameters:
aIpAddress
- The IP-Address to be stored by the IP-Address property.
-
getPort
public int getPort()
- Specified by:
getPort
in interfaceorg.refcodes.mixin.PortAccessor
-
setPort
public void setPort(int aPort)
- Specified by:
setPort
in interfaceorg.refcodes.mixin.PortAccessor.PortMutator
-
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interfaceorg.refcodes.mixin.PathAccessor
-
setPath
public void setPath(java.lang.String aPath)
- Specified by:
setPath
in interfaceorg.refcodes.mixin.PathAccessor.PathMutator
-
getQueryFields
public FormFields getQueryFields()
Retrieves the request Query-Fields from the request Query-Fields property.- Specified by:
getQueryFields
in interfaceQueryFieldsAccessor
- Returns:
- The request Query-Fields stored by the request Query-Fields property.
-
setQueryFields
public void setQueryFields(FormFields aQueryFields)
Sets the request Query-Fields for the request Query-Fields property.- Specified by:
setQueryFields
in interfaceQueryFieldsAccessor.QueryFieldsMutator
- Parameters:
aQueryFields
- The request Query-Fields to be stored by the form fields property.
-
getFragment
public java.lang.String getFragment()
Retrieves the fragment from the fragment property.- Specified by:
getFragment
in interfaceFragmentAccessor
- Returns:
- The fragment stored by the fragment property.
-
setFragment
public void setFragment(java.lang.String aFragment)
Sets the fragment for the fragment property.- Specified by:
setFragment
in interfaceFragmentAccessor.FragmentMutator
- Parameters:
aFragment
- The fragment to be stored by the fragment property.
-
getIdentity
public java.lang.String getIdentity()
- Specified by:
getIdentity
in interfaceorg.refcodes.mixin.IdentityAccessor
-
getSecret
public java.lang.String getSecret()
- Specified by:
getSecret
in interfaceorg.refcodes.mixin.SecretAccessor
-
setIdentity
public void setIdentity(java.lang.String aIdentity)
- Specified by:
setIdentity
in interfaceorg.refcodes.mixin.IdentityAccessor.IdentityMutator
-
setSecret
public void setSecret(java.lang.String aSecret)
- Specified by:
setSecret
in interfaceorg.refcodes.mixin.SecretAccessor.SecretMutator
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-