Class RedirectFilter
Upon match, redirects client to the specified URL resource. Specify matches with 'redirect-url' var
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Wave.Filters
Assembly: Azos.Wave.dll
Syntax
public class RedirectFilter : WorkFilter, IDisposable, IApplicationComponent, INamed, IOrdered
Constructors
RedirectFilter(WorkDispatcher, IConfigSectionNode)
Declaration
public RedirectFilter(WorkDispatcher dispatcher, IConfigSectionNode confNode)
Parameters
Type | Name | Description |
---|---|---|
WorkDispatcher | dispatcher | |
IConfigSectionNode | confNode |
RedirectFilter(WorkDispatcher, String, Int32)
Declaration
public RedirectFilter(WorkDispatcher dispatcher, string name, int order)
Parameters
Type | Name | Description |
---|---|---|
WorkDispatcher | dispatcher | |
System.String | name | |
System.Int32 | order |
RedirectFilter(WorkHandler, IConfigSectionNode)
Declaration
public RedirectFilter(WorkHandler handler, IConfigSectionNode confNode)
Parameters
Type | Name | Description |
---|---|---|
WorkHandler | handler | |
IConfigSectionNode | confNode |
RedirectFilter(WorkHandler, String, Int32)
Declaration
public RedirectFilter(WorkHandler handler, string name, int order)
Parameters
Type | Name | Description |
---|---|---|
WorkHandler | handler | |
System.String | name | |
System.Int32 | order |
Fields
VAR_REDIRECT_TARGET
Declaration
public const string VAR_REDIRECT_TARGET = "redirect-target"
Field Value
Type | Description |
---|---|
System.String |
VAR_REDIRECT_URL
Declaration
public const string VAR_REDIRECT_URL = "redirect-url"
Field Value
Type | Description |
---|---|
System.String |
Properties
RedirectMatches
Returns matches used by the filter to determine whether redirect should be issued
Declaration
public OrderedRegistry<WorkMatch> RedirectMatches { get; }
Property Value
Type | Description |
---|---|
OrderedRegistry<WorkMatch> |
Methods
DoFilterWork(WorkContext, IList<WorkFilter>, Int32)
Declaration
protected override void DoFilterWork(WorkContext work, IList<WorkFilter> filters, int thisFilterIndex)
Parameters
Type | Name | Description |
---|---|---|
WorkContext | work | |
System.Collections.Generic.IList<WorkFilter> | filters | |
System.Int32 | thisFilterIndex |
Overrides
Implements
System.IDisposable