private void validateResponse( RequestConfigurer configurer, Response response, String method ) {
Family family = response.getStatusInfo().getFamily();
if( family == SERVER_ERROR || family == CLIENT_ERROR ) {
RequestError requestError = new RequestError( configurer, response, method );
throw new RequestException( requestError );
}
}