{
public long getKeepAliveDuration(HttpResponse paramHttpResponse, HttpContext paramHttpContext)
{
if (paramHttpResponse == null)
throw new IllegalArgumentException("HTTP response may not be null");
BasicHeaderElementIterator localBasicHeaderElementIterator = new BasicHeaderElementIterator(paramHttpResponse.headerIterator("Keep-Alive"));
while (localBasicHeaderElementIterator.hasNext())
{
HeaderElement localHeaderElement = localBasicHeaderElementIterator.nextElement();
String str1 = localHeaderElement.getName();
String str2 = localHeaderElement.getValue();
if ((str2 != null) && (str1.equalsIgnoreCase("timeout")))
try
{