• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class UrlAction

The UrlAction class keeps state of the current Request throughout the rewriting process.

Inheritance
System.Object
UrlAction
Namespace: DotNetNuke.Entities.Urls
Assembly: DotNetNuke.dll
Syntax
public class UrlAction : object

Constructors

| Improve this Doc View Source

UrlAction(HttpRequest)

Initializes a new instance of the UrlAction class.

Declaration
public UrlAction(HttpRequest request)
Parameters
Type Name Description
HttpRequest request
| Improve this Doc View Source

UrlAction(String, String, String)

Initializes a new instance of the UrlAction class.

Declaration
public UrlAction(string scheme, string applicationPath, string physicalPath)
Parameters
Type Name Description
System.String scheme
System.String applicationPath
System.String physicalPath

Properties

| Improve this Doc View Source

Action

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public ActionType Action { get; set; }
Property Value
Type Description
ActionType
| Improve this Doc View Source

ApplicationPath

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string ApplicationPath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

BrowserType

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public BrowserTypes BrowserType { get; }
Property Value
Type Description
BrowserTypes
| Improve this Doc View Source

BypassCachedDictionary

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public bool BypassCachedDictionary { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

CanRewrite

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public StateBoolean CanRewrite { get; set; }
Property Value
Type Description
StateBoolean
| Improve this Doc View Source

CultureCode

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string CultureCode { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

CustomParmRewrite

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public bool CustomParmRewrite { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

DebugData

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string DebugData { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DebugMessages

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public List<string> DebugMessages { get; set; }
Property Value
Type Description
List<System.String>
| Improve this Doc View Source

dictKey

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string dictKey { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

dictVal

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string dictVal { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DomainName

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string DomainName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

DoRewrite

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public bool DoRewrite { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Ex

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public Exception Ex { get; set; }
Property Value
Type Description
Exception
| Improve this Doc View Source

FinalUrl

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string FinalUrl { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

FriendlyRewrite

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public bool FriendlyRewrite { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

HttpAlias

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string HttpAlias { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IsPhysicalResource

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public bool IsPhysicalResource { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsSecureConnection

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public bool IsSecureConnection { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsSSLOffloaded

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public bool IsSSLOffloaded { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

OriginalPath

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string OriginalPath { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

OriginalPathNoAlias

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string OriginalPathNoAlias { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PhysicalPath

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string PhysicalPath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

PortalAlias

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public PortalAliasInfo PortalAlias { get; set; }
Property Value
Type Description
PortalAliasInfo
| Improve this Doc View Source

PortalAliasMapping

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public PortalSettings.PortalAliasMapping PortalAliasMapping { get; set; }
Property Value
Type Description
PortalSettings.PortalAliasMapping
| Improve this Doc View Source

PortalId

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public int PortalId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

PrimaryAlias

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public PortalAliasInfo PrimaryAlias { get; set; }
Property Value
Type Description
PortalAliasInfo
| Improve this Doc View Source

RawUrl

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string RawUrl { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Reason

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public RedirectReason Reason { get; set; }
Property Value
Type Description
RedirectReason
| Improve this Doc View Source

RebuildRequested

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public bool RebuildRequested { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

RedirectAllowed

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public bool RedirectAllowed { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

RewritePath

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string RewritePath { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Scheme

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string Scheme { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

TabId

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public int TabId { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

UnlicensedProviderCalled

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public bool UnlicensedProviderCalled { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

UnlicensedProviderMessage

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public string UnlicensedProviderMessage { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Url

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public Uri Url { get; set; }
Property Value
Type Description
Uri
| Improve this Doc View Source

VirtualPath

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public StateBoolean VirtualPath { get; set; }
Property Value
Type Description
StateBoolean

Methods

| Improve this Doc View Source

AddLicensedProvider(String)

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public void AddLicensedProvider(string providerName)
Parameters
Type Name Description
System.String providerName
| Improve this Doc View Source

AddLicensedProviders(List<String>)

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public void AddLicensedProviders(List<string> licensedProviders)
Parameters
Type Name Description
List<System.String> licensedProviders
| Improve this Doc View Source

IsProviderLicensed(String)

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public bool IsProviderLicensed(string providerName)
Parameters
Type Name Description
System.String providerName
Returns
Type Description
System.Boolean
| Improve this Doc View Source

SetActionWithNoDowngrade(ActionType)

Sets the action value, but checks to ensure that the action is not being 'downgraded' (example: cannot set 'Redirect301' to 'CheckFor301').

Declaration
public void SetActionWithNoDowngrade(ActionType newAction)
Parameters
Type Name Description
ActionType newAction
| Improve this Doc View Source

SetBrowserType(HttpRequest, HttpResponse, FriendlyUrlSettings)

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public void SetBrowserType(HttpRequest request, HttpResponse response, FriendlyUrlSettings settings)
Parameters
Type Name Description
HttpRequest request
HttpResponse response
FriendlyUrlSettings settings
| Improve this Doc View Source

SetOriginalPath(String, FriendlyUrlSettings)

Copies the original request path to the OriginalPath variables (originalPath, originanPathNoAlias).

Declaration
public void SetOriginalPath(string path, FriendlyUrlSettings settings)
Parameters
Type Name Description
System.String path
FriendlyUrlSettings settings
| Improve this Doc View Source

SetRedirectAllowed(String, FriendlyUrlSettings)

The UrlAction class keeps state of the current Request throughout the rewriting process.

Declaration
public void SetRedirectAllowed(string path, FriendlyUrlSettings settings)
Parameters
Type Name Description
System.String path
FriendlyUrlSettings settings

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS