Rainbow 2.0 Code Documentation

GZipFilter Members

GZipFilter overview

Public Instance Constructors

GZipFilter Constructor Primary constructor. Need to pass in a stream to wrap up with gzip.

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 Http name of this encoding. Here, gzip.
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 Closes this Filter and calls the base class implementation.
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 Flushes the stream out to underlying storage
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 Write content to the stream and have it compressed using gzip.
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 Properties

BaseStream (inherited from HttpOutputFilter) Allow subclasses access to the underlying stream
CompressionLevel (inherited from CompressingFilter) Allow inheriting classes to get access the the level of compression that should be used
HasWrittenHeaders (inherited from CompressingFilter) 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 (inherited from CompressingFilter) Writes out the compression-related headers. Subclasses should call this once before writing to the output stream.

See Also

GZipFilter Class | blowery.Web.HttpCompress Namespace