public void addParameterValue ( final String _key , final String _value ) { List < StringValue > list = this . parameters . get ( _key ) ; if ( list == null ) { list = new ArrayList < StringValue > ( 1 ) ; this . parameters . put ( _key , list ) ; } list . add ( StringValue . valueOf ( _value ) ) ; try { Context . getThreadContext ( ) . getParameters ( ) . put ( _key , ParameterUtil . stringValues2Array ( list ) ) ; } catch ( final EFapsException e ) { EFapsRequestParametersAdapter . LOG . error ( "Could not add parameter '{}' in Context." , _key ) ; } }
Adds a value for given key .