new public static void @static(){ //XMLVM_BEGIN_WRAPPER[org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl: void <clinit>()] global::System.Object _r0_o = null; _r0_o = new global::[email protected](); ((global::[email protected]) _r0_o).@this(); global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl._fdefaultReqHeader = (global::[email protected]) _r0_o; return; //XMLVM_END_WRAPPER[org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl: void <clinit>()] }
private bool getFromCache(){ //XMLVM_BEGIN_WRAPPER[org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl: boolean getFromCache()] global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::System.Object _r2_o = null; global::System.Object _r3_o = null; global::System.Object _r4_o = null; global::org.xmlvm._nElement _r5; global::System.Object _r6_o = null; _r6_o = this; _r5.i = 1; _r1.i = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fuseCaches ? 1 : 0; if (_r1.i == 0) goto label77; _r1_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fresponseCache; if (_r1_o == null) goto label77; _r1.i = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fhasTriedCache ? 1 : 0; if (_r1.i != 0) goto label77; ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fhasTriedCache = 0!=_r5.i; _r1_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fresHeader; if (_r1_o != null) goto label26; _r1_o = new global::[email protected](); ((global::[email protected]) _r1_o).@this(); ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fresHeader = (global::[email protected]) _r1_o; label26:; _r1_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fresponseCache; _r2_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._furi; _r3_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fmethod; _r4_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fresHeader; _r4_o = ((global::[email protected]) _r4_o).getFieldMap(); _r1_o = ((global::java.net.ResponseCache) _r1_o).get((global::java.net.URI) _r2_o, (global::java.lang.String) _r3_o, (global::java.util.Map) _r4_o); ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fcacheResponse = (global::java.net.CacheResponse) _r1_o; _r1_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fcacheResponse; if (_r1_o == null) goto label77; _r1_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fcacheResponse; _r0_o = ((global::java.net.CacheResponse) _r1_o).getHeaders(); if (_r0_o == null) goto label63; _r1_o = new global::[email protected](); ((global::[email protected]) _r1_o).@this((global::java.util.Map) _r0_o); ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fresHeader = (global::[email protected]) _r1_o; label63:; _r1_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fcacheResponse; _r1_o = ((global::java.net.CacheResponse) _r1_o).getBody(); ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fis = (global::java.io.InputStream) _r1_o; _r1_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fis; if (_r1_o == null) goto label77; _r1.i = _r5.i; label76:; return _r1.i!=0; label77:; _r1.i = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fhasTriedCache ? 1 : 0; if (_r1.i == 0) goto label87; _r1_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r6_o)._fis; if (_r1_o == null) goto label87; _r1.i = _r5.i; goto label76; label87:; _r1.i = 0; goto label76; //XMLVM_END_WRAPPER[org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl: boolean getFromCache()] }
public virtual void readServerResponse(){ //XMLVM_BEGIN_WRAPPER[org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl: void readServerResponse()] global::System.Object _r0_o = null; global::org.xmlvm._nElement _r1; global::System.Object _r1_o = null; global::org.xmlvm._nElement _r2; global::System.Object _r2_o = null; global::org.xmlvm._nElement _r3; global::System.Object _r4_o = null; _r4_o = this; _r3.i = 100; _r1_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o)._fsocketOut; ((global::java.io.OutputStream) _r1_o).flush(); label7:; _r1.i = -1; ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o)._fresponseCode = _r1.i; _r1_o = null; ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o)._fresponseMessage = (global::java.lang.String) _r1_o; _r1_o = new global::[email protected](); ((global::[email protected]) _r1_o).@this(); ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o)._fresHeader = (global::[email protected]) _r1_o; _r0_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o).readln(); if (_r0_o == null) goto label38; _r1_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o)._fresHeader; _r2_o = ((global::java.lang.String) _r0_o).trim(); ((global::[email protected]) _r1_o).setStatusLine((global::java.lang.String) _r2_o); ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o).readHeaders(); label38:; _r1.i = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o).getResponseCode(); if (_r1.i == _r3.i) goto label7; _r1_o = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o)._fmethod; // Value=HEAD _r2_o = new global::java.lang.String(); ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)72)), unchecked((char) unchecked((uint) 69)), unchecked((char) unchecked((uint) 65)), unchecked((char) unchecked((uint) 68))})); if (_r1_o == _r2_o) goto label72; _r1.i = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o)._fresponseCode; if (_r1.i < _r3.i) goto label60; _r1.i = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o)._fresponseCode; _r2.i = 200; if (_r1.i < _r2.i) goto label72; label60:; _r1.i = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o)._fresponseCode; _r2.i = 204; if (_r1.i == _r2.i) goto label72; _r1.i = ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o)._fresponseCode; _r2.i = 304; if (_r1.i != _r2.i) goto label83; label72:; ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o).disconnect(); _r1_o = new global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl_2LimitedInputStream(); _r2.i = 0; ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl_2LimitedInputStream) _r1_o).@this((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o, (int) _r2.i); ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o)._fuis = (global::java.io.InputStream) _r1_o; label83:; ((global::org.apache.harmony.luni.@internal.net.www.protocol.http.HttpURLConnectionImpl) _r4_o).putToCache(); return; //XMLVM_END_WRAPPER[org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl: void readServerResponse()] }