public static interface BaseUrlAccessor.BaseUrlMutator
Modifier and Type | Method and Description |
---|---|
default void |
setBaseUrl(org.refcodes.data.Protocol aProtocol,
String aHost)
Same as
setBaseUrl(URL) except that a
MalformedURLException may occur when creating the URL
instance from the given parameters. |
default void |
setBaseUrl(org.refcodes.data.Protocol aProtocol,
String aHost,
int aPort)
Same as
setBaseUrl(URL) except that a
MalformedURLException may occur when creating the URL
instance from the given parameters. |
default void |
setBaseUrl(org.refcodes.data.Protocol aProtocol,
String aHost,
int aPort,
String aPath)
Same as
setBaseUrl(URL) except that a
MalformedURLException may occur when creating the URL
instance from the given parameters. |
default void |
setBaseUrl(org.refcodes.data.Protocol aProtocol,
String aHost,
String aPath)
Same as
setBaseUrl(URL) except that a
MalformedURLException may occur when creating the URL
instance from the given parameters. |
default void |
setBaseUrl(String aBaseUrl)
Same as
setBaseUrl(URL) except that a
MalformedURLException may occur when creating the URL
instance from the given String . |
default void |
setBaseUrl(String aProtocol,
String aHost)
Same as
setBaseUrl(URL) except that a
MalformedURLException may occur when creating the URL
instance from the given parameters. |
default void |
setBaseUrl(String aProtocol,
String aHost,
int aPort)
Same as
setBaseUrl(URL) except that a
MalformedURLException may occur when creating the URL
instance from the given parameters. |
default void |
setBaseUrl(String aProtocol,
String aHost,
int aPort,
String aPath)
Same as
setBaseUrl(URL) except that a
MalformedURLException may occur when creating the URL
instance from the given parameters. |
default void |
setBaseUrl(String aProtocol,
String aHost,
String aPath)
Same as
setBaseUrl(URL) except that a
MalformedURLException may occur when creating the URL
instance from the given parameters. |
void |
setBaseUrl(URL aBaseUrl)
Sets the base URL (protocol, host, port, locator) for the base URL
(protocol, host, port, locator) property.
|
void setBaseUrl(URL aBaseUrl)
aBaseUrl
- The base URL (protocol, host, port, locator) to be
stored by the local address property.default void setBaseUrl(String aBaseUrl) throws MalformedURLException
setBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given String
.aBaseUrl
- The String
representing the URL
.MalformedURLException
- in case the String
cannot be
converted to a valid (accepted) URL
.default void setBaseUrl(String aProtocol, String aHost) throws MalformedURLException
setBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given parameters.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
base URL
.aHost
- The host to which the base URL
is to point to.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default void setBaseUrl(String aProtocol, String aHost, int aPort) throws MalformedURLException
setBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given parameters.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
base URL
.aHost
- The host to which the base URL
is to point to.aPort
- The port to be used when connecting to the host.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default void setBaseUrl(org.refcodes.data.Protocol aProtocol, String aHost) throws MalformedURLException
setBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given parameters.aProtocol
- The Protocol
(e.g. Protocol.HTTP
or
Protocol.HTTPS
) to be used for the base URL
.aHost
- The host to which the base URL
is to point to.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default void setBaseUrl(org.refcodes.data.Protocol aProtocol, String aHost, int aPort) throws MalformedURLException
setBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given parameters.aProtocol
- The Protocol
(e.g. Protocol.HTTP
or
Protocol.HTTPS
) to be used for the base URL
.aHost
- The host to which the base URL
is to point to.aPort
- The port to be used when connecting to the host.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default void setBaseUrl(String aProtocol, String aHost, String aPath) throws MalformedURLException
setBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given parameters.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
base URL
.aHost
- The host to which the base URL
is to point to.aPath
- The path on the host to which the base URL
is to
point to.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default void setBaseUrl(String aProtocol, String aHost, int aPort, String aPath) throws MalformedURLException
setBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given parameters.aProtocol
- The protocol (e.g. HTTP or HTTPS) to be used for the
base URL
.aHost
- The host to which the base 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 URL
is to
point to.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default void setBaseUrl(org.refcodes.data.Protocol aProtocol, String aHost, String aPath) throws MalformedURLException
setBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given parameters.aProtocol
- The Protocol
(e.g. Protocol.HTTP
or
Protocol.HTTPS
) to be used for the base URL
.aHost
- The host to which the base URL
is to point to.aPath
- The path on the host to which the base URL
is to
point to.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.default void setBaseUrl(org.refcodes.data.Protocol aProtocol, String aHost, int aPort, String aPath) throws MalformedURLException
setBaseUrl(URL)
except that a
MalformedURLException
may occur when creating the URL
instance from the given parameters.aProtocol
- The Protocol
(e.g. Protocol.HTTP
or
Protocol.HTTPS
) to be used for the base URL
.aHost
- The host to which the base 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 URL
is to
point to.MalformedURLException
- in case the parameters cannot be
converted to a valid (accepted) URL
.Copyright © 2017. All rights reserved.