public void removeHeader ( String name ) { ListIterator < Header > it = headers . listIterator ( ) ; while ( it . hasNext ( ) ) { if ( it . next ( ) . getName ( ) . equals ( name ) ) { it . remove ( ) ; } } }
Remove a header from the list