common/src/main/java/HTTPClient/HTTPResponse.java
/**
     * Copies the relevant fields from Response and marks this as initialized.
     *
     * @param resp the Response class to copy from
     */
Copies the relevant fields from Response and marks this as initialized.
@param resp the Response class to copy from
Copies the relevant fields from Response and marks this as initialized . @param resp the Response class to copy from
void init(Response resp)
    {
	if (initialized)  return;
	this.StatusCode    = resp.StatusCode;
	this.ReasonLine    = resp.ReasonLine;
	this.Version       = resp.Version;
	this.EffectiveURI  = resp.EffectiveURI;
	this.ContentLength = resp.ContentLength;
	this.Headers       = resp.Headers;
	this.inp_stream    = resp.inp_stream;
	this.Data          = resp.Data;
	this.retry         = resp.retry;
	initialized        = true;
    }
void init ( Response resp ) { if ( initialized ) return ; this . StatusCode = resp . StatusCode ; this . ReasonLine = resp . ReasonLine ; this . Version = resp . Version ; this . EffectiveURI = resp . EffectiveURI ; this . ContentLength = resp . ContentLength ; this . Headers = resp . Headers ; this . inp_stream = resp . inp_stream ; this . Data = resp . Data ; this . retry = resp . retry ; initialized = true ; }
Copies the relevant fields from Response and marks this as initialized.
Copies the relevant fields from Response and marks this as initialized .