Module org.refcodes.web
Package org.refcodes.web
Interface HeaderFieldsAccessor.HeaderFieldsProperty<T extends HeaderFields<?,?>>
- Type Parameters:
T
- the generic type
- All Superinterfaces:
HeaderFieldsAccessor<T>
,HeaderFieldsAccessor.HeaderFieldsMutator<T>
- Enclosing interface:
- HeaderFieldsAccessor<T extends HeaderFields<?,
?>>
public static interface HeaderFieldsAccessor.HeaderFieldsProperty<T extends HeaderFields<?,?>>
extends HeaderFieldsAccessor<T>, HeaderFieldsAccessor.HeaderFieldsMutator<T>
Provides an Header-Fields property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.web.HeaderFieldsAccessor
HeaderFieldsAccessor.HeaderFieldsBuilder<T extends HeaderFields<?,
?>, B extends HeaderFieldsAccessor.HeaderFieldsBuilder<T, B>>, HeaderFieldsAccessor.HeaderFieldsMutator<T extends HeaderFields<?, ?>>, HeaderFieldsAccessor.HeaderFieldsProperty<T extends HeaderFields<?, ?>> -
Method Summary
Modifier and TypeMethodDescriptiondefault T
letHeaderFields
(T aHeaderFields) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofHeaderFieldsAccessor.HeaderFieldsMutator.setHeaderFields(HeaderFields)
and returns the very same value (getter).Methods inherited from interface org.refcodes.web.HeaderFieldsAccessor
getHeaderFields
Methods inherited from interface org.refcodes.web.HeaderFieldsAccessor.HeaderFieldsMutator
setHeaderFields
-
Method Details
-
letHeaderFields
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given value (setter) as ofHeaderFieldsAccessor.HeaderFieldsMutator.setHeaderFields(HeaderFields)
and returns the very same value (getter).- Parameters:
aHeaderFields
- The value to set (viaHeaderFieldsAccessor.HeaderFieldsMutator.setHeaderFields(HeaderFields)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-