internal HttpWriter(HttpResponse response) : base(null) { this._response = response; this._stream = new HttpResponseStream(this); this._buffers = new ArrayList(); this._lastBuffer = null; this._charBuffer = (char[]) s_Allocator.GetBuffer(); this._charBufferLength = this._charBuffer.Length; this._charBufferFree = this._charBufferLength; this.UpdateResponseBuffering(); }
internal HttpResponse () { output_stream = new HttpResponseStream (this); writer = new HttpWriter (this); }
internal HttpWriter (HttpResponse response) { this.response = response; encoding = response.ContentEncoding; output_stream = response.output_stream; }
internal HttpWriter(HttpResponse response): base(null) { _response = response; _stream = new HttpResponseStream(this); _buffers = new ArrayList(); _lastBuffer = null; _charBuffer = (char[])s_Allocator.GetBuffer(); _charBufferLength = _charBuffer.Length; _charBufferFree = _charBufferLength; UpdateResponseBuffering(); // delay getting response encoding until it is really needed // UpdateResponseEncoding(); }
internal HttpWriter (HttpResponse Response) { _Response = Response; _Encoding = _Response.ContentEncoding; _OutputStream = AllocateStream (); _OutputHelper = new StreamWriter (_OutputStream, _Response.ContentEncoding); _ResponseStream = new HttpResponseStream (this); }
internal HttpWriter(HttpResponse response): base(null) { _response = response; _stream = new HttpResponseStream(this); _buffers = new ArrayList(); _lastBuffer = null; // Setup the buffer on demand using CharBuffer property _charBuffer = null; _charBufferLength = 0; _charBufferFree = 0; UpdateResponseBuffering(); // delay getting response encoding until it is really needed // UpdateResponseEncoding(); }
internal HttpWriter(HttpResponse response) { this.response = response; encoding = response.ContentEncoding; output_stream = response.output_stream; }
internal HttpResponse() { output_stream = new HttpResponseStream(this); writer = new HttpWriter(this); }
public OutputFilterStream (HttpResponseStream stream) { this.stream = stream; }
internal void ReleaseResources () { output_stream.ReleaseResources (true); output_stream = null; }
internal void ReleaseResources() { output_stream.ReleaseResources(true); output_stream = null; }
public OutputFilterStream(HttpResponseStream stream) { this.stream = stream; }