public static interface BaseUrlAccessor.BaseUrlMutator
Modifier and Type | Method and Description |
---|---|
default void |
setBaseUrl(String aBaseUrl)
Same as
setBaseUrl(URL) except that a
MalformedURLException may occur when creating the URL
instance from the given String . |
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
.Copyright © 2016. All rights reserved.