| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||
The query handler interface. The WebAdmin contains a collection of query handlers with handle most requests assigned to the WebAdmin application. During creating the query handler will receive a couple of set up calls: init(...) and registerMenuItems(...). The webadmin has to register all URLs it will handle (url without the webapp path prefix). It is also allowed to replace an existing menu item. When the WebAdmin is shut down the cleanup() method will be called. Use this to perform some clean up and to set all Actor references to none (in case the query handler extends Object). Copyright 2008 Epic Games, Inc. All Rights Reserved @author Michiel 'elmuerte' Hendriks
WebAdmin.IQueryHandler
| Structures Summary | ||
|---|---|---|
| KeyValuePair key, value | ||
| WebAdminQuery request, response, session, user, cookies | ||
| Functions Summary | ||
|---|---|---|
![]() | cleanup () | |
![]() | bool | handleQuery (WebAdminQuery q) |
![]() | init (WebAdmin webapp) | |
![]() | registerMenuItems (WebAdminMenu menu) | |
![]() | bool | unhandledQuery (WebAdminQuery q) |
| Structures Detail |
|---|
var array<KeyValuePair> cookies;};
var WebRequest request;
var WebResponse response;
var ISession session;
var IWebAdminUser user;
Struct contain current query information. Passed to the QueryHandlers.
| Functions Detail |
|---|
cleanup Source codeCleanup (prepare for being destroyed). If the implementation extends Object it should set all actor references to none.
handleQuery Source codeCalled by the webadmin to request the query handler to handle this query.
@return true when the query was handled.
init Source codeCalled when the WebAdmin creates and initializes this query handler.
registerMenuItems Source codeCalled by the webadmin to request the query handler to add its menu items to the web admin menu. The menu is used to determine what query handler will be handle a given path. Paths not registered will be passed to all query handlers until one returns true.
unhandledQuery Source codeCalled in case of an unhandled path.
@return true when the query was handled.
| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||