Class RestHttpHandler
Inheritance
System.Object
RestHttpHandler
Implements
System.Web.IHttpAsyncHandler
System.Web.IHttpHandler
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()
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public class RestHttpHandler : IHttpAsyncHandler, IHttpHandler
Constructors
RestHttpHandler(RequestContext)
Declaration
public RestHttpHandler(RequestContext requestContext)
Parameters
Type |
Name |
Description |
System.Web.Routing.RequestContext |
requestContext |
|
RestHttpHandler(RequestContext, AspNetAntiForgeryOptions)
Declaration
public RestHttpHandler(RequestContext requestContext, AspNetAntiForgeryOptions antiForgeryOptions)
Parameters
Properties
Controller
Declaration
public IController Controller { get; }
Property Value
Type |
Description |
System.Web.Mvc.IController |
|
IsReusable
Declaration
public bool IsReusable { get; }
Property Value
Type |
Description |
System.Boolean |
|
RequestContext
Declaration
public RequestContext RequestContext { get; }
Property Value
Type |
Description |
System.Web.Routing.RequestContext |
|
Methods
BeginProcessRequest(HttpContext, AsyncCallback, Object)
Declaration
public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, object extraData)
Parameters
Type |
Name |
Description |
System.Web.HttpContext |
context |
|
System.AsyncCallback |
cb |
|
System.Object |
extraData |
|
Returns
Type |
Description |
System.IAsyncResult |
|
BeginProcessRequest(HttpContextBase, AsyncCallback, Object)
Declaration
public IAsyncResult BeginProcessRequest(HttpContextBase context, AsyncCallback callback, object extraData)
Parameters
Type |
Name |
Description |
System.Web.HttpContextBase |
context |
|
System.AsyncCallback |
callback |
|
System.Object |
extraData |
|
Returns
Type |
Description |
System.IAsyncResult |
|
EndProcessRequest(IAsyncResult)
Declaration
public void EndProcessRequest(IAsyncResult result)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
result |
|
ParseRequestUrl(String, out String, out String)
Declaration
protected virtual bool ParseRequestUrl(string url, out string storeName, out string id)
Parameters
Type |
Name |
Description |
System.String |
url |
|
System.String |
storeName |
|
System.String |
id |
|
Returns
Type |
Description |
System.Boolean |
|
ProcessRequest(HttpContext)
Declaration
public void ProcessRequest(HttpContext context)
Parameters
Type |
Name |
Description |
System.Web.HttpContext |
context |
|
ProcessRequest(HttpContextBase)
Declaration
public virtual void ProcessRequest(HttpContextBase httpContext)
Parameters
Type |
Name |
Description |
System.Web.HttpContextBase |
httpContext |
|
ValidateAntiForgeryToken(HttpContextBase)
Declaration
protected virtual void ValidateAntiForgeryToken(HttpContextBase httpContext)
Parameters
Type |
Name |
Description |
System.Web.HttpContextBase |
httpContext |
|
Implements
System.Web.IHttpAsyncHandler
System.Web.IHttpHandler
Extension Methods