Search Results for

Show / Hide Table of Contents

# Class MvcHandler

Base HTTP handler for the legacy MVC integration model.

##### Inheritance

object
MvcHandler

##### Implements

IHttpHandler

##### Inherited Members

object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

###### Namespace: CuteWebUI

###### Assembly: AjaxUploader.dll

##### Syntax

    public abstract class MvcHandler : IHttpHandler

### Properties

#### IsReusable

Gets a value indicating whether another request can use the IHttpHandler instance.

##### Declaration

    public bool IsReusable { get; }

##### Property Value

Type | Description
--- | ---
bool | true if the IHttpHandler instance is reusable; otherwise, false.

#### Uploader

##### Declaration

    public MvcUploader Uploader { get; }

##### Property Value

Type | Description
--- | ---
MvcUploader |

### Methods

#### GetValidateOption()

##### Declaration

    public abstract UploaderValidateOption GetValidateOption()

##### Returns

Type | Description
--- | ---
UploaderValidateOption |

#### OnFileUploaded(MvcUploadFile)

##### Declaration

    public abstract void OnFileUploaded(MvcUploadFile file)

##### Parameters

Type | Name | Description
--- | --- | ---
MvcUploadFile | file |

#### OnUploaderInit(MvcUploader)

##### Declaration

    public abstract void OnUploaderInit(MvcUploader uploader)

##### Parameters

Type | Name | Description
--- | --- | ---
MvcUploader | uploader |

#### ProcessRequest(HttpContext)

Enables processing of HTTP Web requests by a custom `HttpHandler` that implements the IHttpHandler interface.

##### Declaration

    public void ProcessRequest(HttpContext context)

##### Parameters

Type | Name | Description
--- | --- | ---
HttpContext | context | An HttpContext object that provides references to the intrinsic server objects (for example, `Request`, `Response`, `Session`, and `Server`) used to service HTTP requests.

#### SetServerData(string)

##### Declaration

    public void SetServerData(string data)

##### Parameters

Type | Name | Description
--- | --- | ---
string | data |

### Implements

IHttpHandler