class RecordHeaders implements Headers {

    @Override
    public Iterable<Header> headers(final String key) {
        checkKey(key);
        return () -> new FilterByKeyIterator(headers.iterator(), key);
    }

    public  RecordHeaders();
    public  RecordHeaders(Header[] headers);
    public  RecordHeaders(Iterable<Header> headers);

}