throw new ClientHandlerException(e);
}
}
private HttpState getHttpState(Map<String, Object> props) {
ApacheHttpClientState httpState = (ApacheHttpClientState) props.get(
DefaultApacheHttpClientConfig.PROPERTY_HTTP_STATE);
if (httpState != null) {
return httpState.getHttpState();
} else {
return null;
}
}