question: record a message that will be added to the user 's session and displayed on their next request . concode_field_sep String redirectURI concode_elem_sep Map<String,List<String>> flashMessages concode_elem_sep Errors errors concode_field_sep void addError concode_elem_sep boolean isGet concode_elem_sep void addErrors concode_elem_sep boolean hasErrors concode_elem_sep String getRedirect concode_elem_sep boolean hasRedirect concode_elem_sep String toString concode_elem_sep boolean isPost concode_elem_sep void sendRedirect concode_elem_sep Errors getErrors concode_elem_sep Map<String,List<String>> getFlashMessages
target: void function ( String arg0 , String arg1 ) { if ( flashMessages == null ) { flashMessages = new HashMap < String , List < String >> ( ) ; } if ( flashMessages . get ( arg0 ) == null ) { flashMessages . put ( arg0 , new ArrayList < String > ( ) ) ; } flashMessages . get ( arg0 ) . add ( arg1 ) ; }