Interface BodyAccessor.BodyProperty<T>

    • Method Detail

      • letBody

        default T letBody​(T aBody)
        This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as of BodyAccessor.BodyMutator.setBody(Object) and returns the very same value (getter).
        Parameters:
        aBody - The value to set (via BodyAccessor.BodyMutator.setBody(Object)).
        Returns:
        Returns the value passed for it to be used in conclusive processing steps.