UE3:WebApplication (UT3)
![]() |
Object >> WebApplication |
- Package:
- UWeb
- Direct subclasses:
- HelloWeb, ImageServer, WebAdmin
- This class in other games:
Parent class of "applications" for the WebServer.
Properties
Path
Type: string
Set by the WebServer class to the path configured for this application.
WebServer
Type: WebServer
A reference to the WebServer actor.
WorldInfo
Type: WorldInfo
A reference to the WorldInfo actor.
Instance functions
Cleanup
An empty dummy function for backward compatibility, that is no longer used.
CleanupApp
Called when the WebServer owning this application is destroyed. You should perform any general shutdown cleanup here.
Init
Called after the WebServer has created this WebApplication and initialized the three properties Path, WebServer and WorldInfo. Perform any global initialization here.
PostQuery
Called after the Query function. You can perform any post-query cleanup here.
PreQuery
Called before the Query function. Could be used to e.g. check general access policies. Returning False will skip the calls to Query() and PostQuery().
Query
Processes a HTTP request and prepares the corresponding response.