-
- All Superinterfaces:
HostAccessor
,HostAccessor.HostMutator
- All Known Implementing Classes:
UrlBuilder
- Enclosing interface:
- HostAccessor
public static interface HostAccessor.HostProperty extends HostAccessor, HostAccessor.HostMutator
Provides a host property.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.web.HostAccessor
HostAccessor.HostBuilder<B extends HostAccessor.HostBuilder<?>>, HostAccessor.HostMutator, HostAccessor.HostProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default String
letHost(String aHost)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofHostAccessor.HostMutator.setHost(String)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.web.HostAccessor
getHost
-
Methods inherited from interface org.refcodes.web.HostAccessor.HostMutator
setHost
-
-
-
-
Method Detail
-
letHost
default String letHost(String aHost)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofHostAccessor.HostMutator.setHost(String)
and returns the very same value (getter).- Parameters:
aHost
- TheString
to set (viaHostAccessor.HostMutator.setHost(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-
-