public void handleResponse ( String response ) { if ( messageListener != null ) { log . debug ( "Sending Http response" ) ; messageListener . onOutboundMessage ( new RawMessage ( response ) , null ) ; } else { if ( log . isDebugEnabled ( ) ) { log . debug ( "Sending Http response:" + NEWLINE + response ) ; } } }
Handle response message and write content to logger .