Rainbow 2.0 Code Documentation

CompressingFilter Members

CompressingFilter overview

Public Instance Properties

CanRead (inherited from HttpOutputFilter) False. These are write-only streams
CanSeek (inherited from HttpOutputFilter) False. These are write-only streams
CanTimeout (inherited from Stream)Gets a value that determines whether the current stream can time out.
CanWrite (inherited from HttpOutputFilter) True. You can write to the stream. May change if you call Close or Dispose
ContentEncoding The name of the content-encoding that's being implemented
Length (inherited from HttpOutputFilter) Not supported. Throws an exception saying so.
Position (inherited from HttpOutputFilter) Not supported. Throws an exception saying so.
ReadTimeout (inherited from Stream)Gets or sets a value that determines how long the stream will attempt to read before timing out.
WriteTimeout (inherited from Stream)Gets or sets a value that determines how long the stream will attempt to write before timing out.

Public Instance Methods

BeginRead (inherited from Stream)Begins an asynchronous read operation.
BeginWrite (inherited from Stream)Begins an asynchronous write operation.
Close (inherited from HttpOutputFilter) Closes this Filter and the underlying stream.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Stream)Overloaded. Releases all resources used by the Stream.
EndRead (inherited from Stream)Waits for the pending asynchronous read to complete.
EndWrite (inherited from Stream)Ends an asynchronous write operation.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
Flush (inherited from HttpOutputFilter) Fluses this Filter and the underlying stream.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
Read (inherited from HttpOutputFilter) Not supported.
ReadByte (inherited from Stream)Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
Seek (inherited from HttpOutputFilter) Not supported. Throws an exception saying so.
SetLength (inherited from HttpOutputFilter) Not supported. Throws an exception saying so.
ToString (inherited from Object)Returns a String that represents the current Object.
Write (inherited from Stream)When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
WriteByte (inherited from Stream)Writes a byte to the current position in the stream and advances the position within the stream by one byte.

Protected Instance Constructors

CompressingFilter Constructor Protected constructor that sets up the underlying stream we're compressing into

Protected Instance Properties

BaseStream (inherited from HttpOutputFilter) Allow subclasses access to the underlying stream
CompressionLevel Allow inheriting classes to get access the the level of compression that should be used
HasWrittenHeaders Keeps track of whether or not we're written the compression headers

Protected Instance Methods

CreateWaitHandle (inherited from Stream)Obsolete. Allocates a WaitHandle object.
Dispose (inherited from Stream)Overloaded. Releases the unmanaged resources used by the Stream and optionally releases the managed resources.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.
WriteHeaders Writes out the compression-related headers. Subclasses should call this once before writing to the output stream.

See Also

CompressingFilter Class | blowery.Web.HttpCompress Namespace