The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:WebApplication (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT3 Object >> WebApplication

Contents

Package: 
UWeb
Direct subclasses:
HelloWeb, ImageServer, WebAdmin
This class in other games:
U2, U2XMP, UDK, UE2Runtime, UT, UT2003, UT2004

Parent class of "applications" for the WebServer.

[edit] Properties

[edit] Path

Type: string

Set by the WebServer class to the path configured for this application.

[edit] WebServer

Type: WebServer

A reference to the WebServer actor.

[edit] WorldInfo

Type: WorldInfo

A reference to the WorldInfo actor.

[edit] Instance functions

[edit] Cleanup

final function Cleanup ()

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

[edit] CleanupApp

function CleanupApp ()

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

[edit] 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.

[edit] PostQuery

function PostQuery (WebRequest Request, WebResponse Response)

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

[edit] 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().

[edit] Query

function Query (WebRequest Request, WebResponse Response)

Processes a HTTP request and prepares the corresponding response.

Personal tools