- All Superinterfaces:
HomeUrlAccessor
,HomeUrlAccessor.HomeUrlMutator
- Enclosing interface:
- HomeUrlAccessor
public static interface HomeUrlAccessor.HomeUrlProperty
extends HomeUrlAccessor, HomeUrlAccessor.HomeUrlMutator
Provides a home
Url
property.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.rest.HomeUrlAccessor
HomeUrlAccessor.HomeUrlBuilder<B extends HomeUrlAccessor.HomeUrlBuilder<?>>, HomeUrlAccessor.HomeUrlMutator, HomeUrlAccessor.HomeUrlProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.refcodes.web.Url
letHomeUrl
(org.refcodes.web.Url aUrl) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenUrl
(setter) as ofHomeUrlAccessor.HomeUrlMutator.setHomeUrl(Url)
and returns the very same value (getter).Methods inherited from interface org.refcodes.rest.HomeUrlAccessor
getHomeUrl
Methods inherited from interface org.refcodes.rest.HomeUrlAccessor.HomeUrlMutator
setHomeUrl
-
Method Details
-
letHomeUrl
default org.refcodes.web.Url letHomeUrl(org.refcodes.web.Url aUrl) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenUrl
(setter) as ofHomeUrlAccessor.HomeUrlMutator.setHomeUrl(Url)
and returns the very same value (getter).- Parameters:
aUrl
- TheUrl
to set (viaHomeUrlAccessor.HomeUrlMutator.setHomeUrl(Url)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-