private void copyCookies ( final Message message ) { if ( message instanceof HttpMessage ) { this . cookies . putAll ( ( ( HttpMessage ) message ) . getCookiesMap ( ) ) ; } }
Sets the cookies extracted from the given message as far as it is a HttpMessage