Class DefaultMultiValueConverter<T extends Iterable<V>,V>

java.lang.Object
org.jdrupes.httpcodec.types.DefaultMultiValueConverter<T,V>
Type Parameters:
T - the container for the values
V - the type of the values
All Implemented Interfaces:
Converter<T>, MultiValueConverter<T,V>

public class DefaultMultiValueConverter<T extends Iterable<V>,V> extends Object implements MultiValueConverter<T,V>
Used by by converters that convert header fields with a list of values.

Minimal restrictions are imposed on the type used as container for the values. It must be Iterable to provide read access. A supplier and a function for appending values provide the required write access.