UE3:WebApplication (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
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

final function Cleanup ()

An empty dummy function for backward compatibility, that is no longer used.

CleanupApp

function CleanupApp ()

Called when the WebServer owning this application is destroyed. You should perform any general shutdown cleanup here.

Init

function Init ()

Called after the WebServer has created this WebApplication and initialized the three properties Path, WebServer and WorldInfo. Perform any global initialization here.

PostQuery

function PostQuery (WebRequest Request, WebResponse Response)

Called after the Query function. You can perform any post-query cleanup here.

PreQuery

function bool PreQuery (WebRequest Request, WebResponse Response)

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

function Query (WebRequest Request, WebResponse Response)

Processes a HTTP request and prepares the corresponding response.