Class StaticCatalogUriHandler

Inheritance
System.Object
StaticCatalogUriHandler
Implements
System.Web.IHttpHandlerFactory
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Website.Handlers
Assembly: Mediachase.Commerce.Website.dll
Version: 10.8.0
Syntax
[Obsolete("This class is no longer needed. Will remain at least until November 2016.", true)]
public class StaticCatalogUriHandler : IHttpHandlerFactory

Constructors

StaticCatalogUriHandler()

Declaration
public StaticCatalogUriHandler()

Methods

BuildUri(String, Boolean)

Builds a Uri that refers to target. If target is application-relative a relative Uri is created.

Declaration
public Uri BuildUri(string target, bool secure)
Parameters
Type Name Description
System.String target

Target for uri.

System.Boolean secure

Indicates whether Uri should be https or http.

Returns
Type Description
System.Uri

Uri for target

GetHandler(HttpContext, String, String, String)

Returns an instance of a class that implements the System.Web.IHttpHandler interface.

Declaration
public IHttpHandler GetHandler(HttpContext context, string requestType, string url, string pathTranslated)
Parameters
Type Name Description
System.Web.HttpContext context

An instance of the System.Web.HttpContext class that provides references to intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.

System.String requestType

The HTTP data transfer method (GET or POST) that the client uses.

System.String url

The System.Web.HttpRequest.RawUrl of the requested resource.

System.String pathTranslated

The System.Web.HttpRequest.PhysicalApplicationPath to the requested resource.

Returns
Type Description
System.Web.IHttpHandler

A new System.Web.IHttpHandler object that processes the request.

ReleaseHandler(IHttpHandler)

Enables a factory to reuse an existing handler instance.

Declaration
public void ReleaseHandler(IHttpHandler handler)
Parameters
Type Name Description
System.Web.IHttpHandler handler

The System.Web.IHttpHandler object to reuse.

Implements

System.Web.IHttpHandlerFactory