public void addObjectToSession ( String name , Object value ) { if ( session == null ) { session = new HashMap <> ( ) ; } if ( logger . isDebugEnabled ( ) ) { logger . debug ( "Add object [" + name + "] to session with value [" + value + "]" ) ; } session . put ( name , value ) ; }
Add a object into the session .