AdvantageHandler Members
The AdvantageHandler type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
AfterMethodInvoke |
Intercept the execution right after the handler method is called
|
|
|
DefaultContentType |
Returns the default content type returned by the handler.
|
|
|
DELETE |
Handles HTTP DELETE requests. Override in derived classes to provide custom DELETE logic.
|
|
|
Dispose |
Releases the SQL connection held by this handler instance.
|
|
|
GET |
Handles HTTP GET requests. Override in derived classes to provide custom GET logic.
|
|
|
GetRouteData |
When overridden in a derived class, returns route information about the request.
|
|
|
GetVirtualPath |
When overridden in a derived class, checks whether the route matches the specified values, and if so, generates a URL and retrieves information about the route.
|
|
|
HandleRequest |
Method used to handle the request as a normal ASHX.
To use this method just pass handlerequest=true on the request query string.
|
|
|
Help |
Generates an HTML help page describing the available methods on this handler,
including parameter types and sample jQuery AJAX call syntax.
|
|
|
POST |
Handles HTTP POST requests. Override in derived classes to provide custom POST logic.
|
|
|
ProcessRequest |
Enables processing of HTTP Web requests by a custom HttpHandler that implements the IHttpHandler interface.
|
|
|
PUT |
Handles HTTP PUT requests. Override in derived classes to provide custom PUT logic.
|
|
|
SetResponseContentType |
Sets the type of the response content.
|
|
|
SiteSettings<(Of <<'(T>)>>) |
Retrieves the published domain-level site settings of the specified type.
Returns a new default instance if no published settings are found.
|
|
|
ToQueryString |
Converts to querystring.
|
Properties
| Name | Description | |
|---|---|---|
|
|
context |
Gets the context.
|
|
|
CurrentDomain |
Gets the current domain.
|
|
|
CurrentLanguage |
Gets the current language.
|
|
|
CurrentSql |
Gets the current SQL.
|
|
|
IsReusable | |
|
|
ModuleEngine |
Gets the module engine.
|
|
|
SkipContentTypeEvaluation |
Setting this to true will avoid the handler to change the content type wither to its default value or to its specified value on the request.
This is useful if you're handling the request yourself and need to specify it yourself.
|
|
|
SkipDefaultSerialization |
Setting this to true will make the handler respond with exactly what the called method returned,
bypassing automatic serialization. If false, the handler will serialize the content based on the ContentType.
|

