public static void appendResponse ( StringBuilder buffer , String response ) { if ( response != null && ! response . isEmpty ( ) ) { if ( buffer . length ( ) > 0 ) { buffer . append ( "\r\n" ) ; } buffer . append ( response ) ; } }
Accumulate response values in string buffer .