| ResponseOutputFilter Class |
Namespace: CMS.OutputFilter
public class ResponseOutputFilter : Stream
The ResponseOutputFilter type exposes the following members.
| Name | Description | |
|---|---|---|
| ResponseOutputFilter |
Constructor.
|
| Name | Description | |
|---|---|---|
| ApplyFilter |
If true, the filter is applied to the response.
| |
| CanRead | (Overrides StreamCanRead.) | |
| CanSeek | (Overrides StreamCanSeek.) | |
| CanWrite | (Overrides StreamCanWrite.) | |
| DefaultFilterCapacity |
Default capacity for the output filter.
| |
| Encoding |
Current response encoding
| |
| Length | (Overrides StreamLength.) | |
| LogToDebug |
If true, the filter logs the output to the debug.
| |
| LogToFile |
If true, the filter logs the output to the file.
| |
| OutputFilterEndRequest |
When true, the request is completed, when false, the Request.End is called.
| |
| Position | (Overrides StreamPosition.) | |
| UseGZip |
If true, the filter uses GZip compression on output.
|
| Name | Description | |
|---|---|---|
| Close |
Closes the OutputFilter.
(Overrides StreamClose.) | |
| CreateOutputFilter |
Creates new instance of output filter.
| |
| EnsureOutputFilter |
Ensures that current request contains the output filter.
| |
| FilterResponse |
Applies the output filter to the output data.
| |
| Flush |
Flushes the response stream.
(Overrides StreamFlush.) | |
| GetFilterRelativePath |
Gets document's relative path used in output filters.
| |
| Read |
Reads from the response stream.
(Overrides StreamRead(Byte, Int32, Int32).) | |
| ResolveSubstitutions |
Resolves the substitutions in the given output HTML.
| |
| Seek |
Moves the response stream position.
(Overrides StreamSeek(Int64, SeekOrigin).) | |
| SetLength |
Sets the stream length.
(Overrides StreamSetLength(Int64).) | |
| Write |
Handles the write event.
(Overrides StreamWrite(Byte, Int32, Int32).) |
| Name | Description | |
|---|---|---|
| OnAfterFiltering |
Fires after the filtering occurs.
| |
| OnBeforeFiltering |
Fires before the filtering occurs.
| |
| OnFilterCreated |
Fires after the filter has been created.
| |
| OnResolveSubstitution |
Custom substitution event.
|