URLRewriter Methods |
The URLRewriter type exposes the following members.
Name | Description | |
---|---|---|
CompleteRequestInternal |
Completes request
| |
DefaultPageBehavior |
Gets the default page behavior for given site
| |
GetEditingUrl |
Gets the preview page URL
| |
GetGoogleSiteMapPath |
Returns sitemap node alias path for specific site
| |
GetGoogleSiteMapURL |
Returns sitemap URL for specific site
| |
GetHandledUrl |
Returns the url handled by handler404 page.
| |
GetLiveUrl |
Gets the live page URL
| |
GetRelativePathFromUrl |
Returns relative path from url.
Example: http://www.domain.com/mypage.aspx => /mypage.aspx
| |
HandleRewriteRedirect |
Handles the rewrite redirect of the request
| |
CheckLicense |
Check if license for actual Url is valid.
| |
CheckLicenseInternal |
Check if license for actual Url is valid.
| |
CheckPublishedState |
Checks the published state of the document. If the document is not published and combine with default culture is enabled and default culture is published, default culture is returned. If no published version is found, the page info is set to null.
| |
PageNotFound |
Returns the page not found error or redirects to the page not found page
| |
PageNotFoundForNonPublished |
Returns true if the non published documents should return page not found result.
| |
PerformPlannedRedirect |
Performs the redirect that was previously planned by URL rewriter
| |
ProcessABTest(String, ViewModeEnum, PageInfo) |
Returns current page info with dependence on A/B test settings.
| |
ProcessABTest(String, ViewModeEnum, PageInfo, UrlRewritingAction, String, String) | Obsolete.
Returns current page info with dependence on A/B test settings.
| |
ProcessPageTemplate | Obsolete.
Processes the page template and returns file name to rewrite to, if returning file name is null, no rewriting should occur and was handled internally
| |
ProcessRewritingAction |
Processes the given rewriting action.
| |
ProcessRewritingResult(URLRewritingParams) |
Processes the result of URL rewriting and handlers appropriate actions
| |
ProcessRewritingResult(RequestStatusEnum, ExcludedSystemEnum, SiteNameOnDemand, ViewModeOnDemand, String) |
Processes the result of URL rewriting and handlers appropriate actions
| |
RedirectInternal |
Redirects the response using specified URL (302 HTTP status code).
| |
RedirectPermanentInternal |
Redirects the response using specified URL using permanent redirection using 301.
| |
RedirectToMainUrl |
Redirects the page to its main URL.
| |
RewritePath |
Rewrites the path by using the given file path and query string.
| |
RewritePathInternal(String) |
Rewrites the URL by using the given path
| |
RewritePathInternal(String, Boolean) |
Rewrites the URL by using the given path
| |
RewritePathWithoutClearCachedUrlValuesInternal |
Rewrites the URL by using the given path, path information and query string information,
without clearing the cached values related to URL of the request
| |
RewriteUrl(RequestStatusEnum, String, ExcludedSystemEnum) |
Rewrites the URL and performs all operations required after URL rewriting.
| |
RewriteUrl(String, ExcludedSystemEnum, SiteNameOnDemand, ViewModeOnDemand) |
Applies rewriting to actual URL.
| |
SendOutputFromCache |
Attempts to send the output of the page from the cache.
| |
SetViewMode |
Sets the viewmode if viewmode parameter present in current request parameters.
| |
TransferPageNotFoundInternal |
Transfer page not found request
| |
UseDomainForCulture |
Gets the value that indicates whether domain should be used for culture
| |
ValidateCulture |
Validates the culture value.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |