private void ImportRequest(HttpLog httpLog) { _httpRequestLog = httpLog.Request; _httpResponseLog = httpLog.Response; HttpValuesLog values = httpLog.Values; _requestTime = values.RequestTime; _requestDuration = values.RequestDuration; _resultCharset = values.Charset; _resultContentType = values.ContentType; //public UrlCachePathResult UrlCachePath = null; //public string CacheFile = null; // sub-path of cache file }
private HttpResponseLog GetHttpResponseLog() { if (_httpResponseLog == null) { if (_webResponse == null) throw new PBException("WebResponse is not defined"); _httpResponseLog = new HttpResponseLog(_webResponse); } return _httpResponseLog; }