Méthode | Description | |
---|---|---|
BadRequest ( ) : void |
Return "bad request" to the client app
|
|
ReturnJson ( JsonResponse response ) : void |
Return a Json response to the client app
|
|
Unauthorized ( ) : void |
Return "unauthorized" to the client app
|
Méthode | Description | |
---|---|---|
HandleRequest ( |
Handle the json request using a list of handlers
|
|
PageLoad ( ) : void |
The PageLoad function is to be overriden by child class In this function it should create a list of handlers and call the HandleRequest function
|
|
Page_Load ( object sender, |
Called when the page loads
|
Méthode | Description | |
---|---|---|
RequestParams ( string name ) : string |
Get the value of a request parameter
|
protected HandleRequest ( |
||
handlers | The array of handlers | |
Résultat | void |
protected Page_Load ( object sender, |
||
sender | object | The sender |
e | The event argument | |
Résultat | void |
public ReturnJson ( JsonResponse response ) : void | ||
response | JsonResponse | The response object to be stringify and return to client app |
Résultat | void |