- All Superinterfaces:
HostAccessor
,HostAccessor.HostMutator
- All Known Implementing Classes:
UrlBuilder
- Enclosing interface:
- HostAccessor
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
Modifier and TypeMethodDescriptiondefault String
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 Details
-
letHost
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.
-