protected Parameter removeParameter ( final String name ) { if ( name == null ) { throw new IllegalArgumentException ( "Parameter name cannot be null" ) ; } final Iterator < Parameter > iter = result . simpleParameters . getChildren ( ) . iterator ( ) ; while ( iter . hasNext ( ) ) { final Parameter p = iter . next ( ) ; if ( name . equals ( p . name ) ) { iter . remove ( ) ; return p ; } } return null ; }
Remove parameter with the specified name from request description .