B
- The builder to return in order to be able to apply multiple
build operations.public static interface BaseUrlAccessor.BaseUrlBuilder<B extends BaseUrlAccessor.BaseUrlBuilder<B>>
Modifier and Type | Method and Description |
---|---|
default B |
withBaseUrl(String aBaseUrl)
Same as
withBaseUrl(URL) except that a
MalformedURLException may occur when creating the URL
instance from the given String . |
B |
withBaseUrl(URL aBaseUrl)
Sets the base URL (protocol, host, port, locator) for the base URL
(protocol, host, port, locator) property.
|
B withBaseUrl(URL aBaseUrl)
aBaseUrl
- The base URL (protocol, host, port, locator) to be
stored by the local address property.default B withBaseUrl(String aBaseUrl) throws MalformedURLException
withBaseUrl(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.