localObject3 = new URL(str1);
localObject4 = ((URL)localObject3).openConnection();
if (((localObject4 instanceof HttpURLConnection)) && ((paramXMLInputSource instanceof HTTPInputSource)))
{
localObject5 = (HttpURLConnection)localObject4;
HTTPInputSource localHTTPInputSource = (HTTPInputSource)paramXMLInputSource;
localObject6 = localHTTPInputSource.getHTTPRequestProperties();
while (((Iterator)localObject6).hasNext())
{
Map.Entry localEntry = (Map.Entry)((Iterator)localObject6).next();
((URLConnection)localObject5).setRequestProperty((String)localEntry.getKey(), (String)localEntry.getValue());
}
boolean bool = localHTTPInputSource.getFollowHTTPRedirects();
if (!bool)
XMLEntityManager.setInstanceFollowRedirects((HttpURLConnection)localObject5, bool);
}
localObject1 = new BufferedInputStream(((URLConnection)localObject4).getInputStream());
Object localObject5 = ((URLConnection)localObject4).getContentType();