Module org.refcodes.web
Package org.refcodes.web
Interface LocalAddressAccessor.LocalAddressProperty
- All Superinterfaces:
LocalAddressAccessor
,LocalAddressAccessor.LocalAddressMutator
- Enclosing interface:
- LocalAddressAccessor
public static interface LocalAddressAccessor.LocalAddressProperty
extends LocalAddressAccessor, LocalAddressAccessor.LocalAddressMutator
Provides a local address property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.web.LocalAddressAccessor
LocalAddressAccessor.LocalAddressBuilder<B extends LocalAddressAccessor.LocalAddressBuilder<B>>, LocalAddressAccessor.LocalAddressMutator, LocalAddressAccessor.LocalAddressProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault InetSocketAddress
letLocalAddress
(InetSocketAddress aLocalAddress) This method stores and passes through the givenInetSocketAddress
, which is very useful for builder APIs: Sets the given value (setter) as ofLocalAddressAccessor.LocalAddressMutator.setLocalAddress(InetSocketAddress)
and returns the very same value (getter).Methods inherited from interface org.refcodes.web.LocalAddressAccessor
getLocalAddress
Methods inherited from interface org.refcodes.web.LocalAddressAccessor.LocalAddressMutator
setLocalAddress
-
Method Details
-
letLocalAddress
This method stores and passes through the givenInetSocketAddress
, which is very useful for builder APIs: Sets the given value (setter) as ofLocalAddressAccessor.LocalAddressMutator.setLocalAddress(InetSocketAddress)
and returns the very same value (getter).- Parameters:
aLocalAddress
- TheInetSocketAddress
to set (viaLocalAddressAccessor.LocalAddressMutator.setLocalAddress(InetSocketAddress)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-