Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UWeb.WebResponse

Extends
Object
Modifiers
native config ( Web )

Core.Object
|   
+-- UWeb.WebResponse

Constants Summary
Inherited Contants from Core.Object
DegToRad, INDEX_NONE, MaxInt, Pi, RadToDeg

Variables Summary
boolbSentResponse
boolbSentText
stringCharSet
WebConnectionConnection
array<string>headers
stringIncludePath
Map_MirrorReplacementMap
Inherited Variables from Core.Object
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject

Enumerations Summary
Inherited Enumerations from Core.Object
EAxis, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup

Structures Summary
Inherited Structures from Core.Object
Box, BoxSphereBounds, Color, Cylinder, double, DynamicMap_Mirror, Guid, IndirectArray_Mirror, InterpCurveFloat, InterpCurvePointFloat, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, Rotator, TextureMipBulkData_Mirror, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Functions Summary
function AddHeader (string header, optional bool bReplace=true))
function ClearSubst ()
function Dump ()
function FailAuthentication (string Realm))
functionbool FileExists (string Filename)
functionstring GetHTTPExpiration (optional int OffsetSeconds)
function HTTPError (int ErrorNum, optional string Data))
function HTTPHeader (string Header))
function HTTPResponse (string Header))
functionbool IncludeBinaryFile (string Filename)
functionbool IncludeUHTM (string Filename)
functionstring LoadParsedUHTM (string Filename)
function Redirect (string URL))
event SendBinary (int Count, byte B[255]))
functionbool SendCachedFile (string Filename, optional string ContentType))
function SendHeaders ()))
function SendStandardHeaders (optional string ContentType, optional bool bCache ))
event SendText (string Text, optional bool bNoCRLF))
functionbool SentResponse ()))
functionbool SentText ()))
function Subst (string Variable, coerce string Value, optional bool bClear)
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClassIsChildOf, ClearConfig, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, Exp, FClamp, FCubicInterp, FindDeltaAngle, FindObject, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetDotDistance, GetEnum, GetFuncName, GetHeadingAngle, GetNetFuncName, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetSpecialValue, GetStateName, GetUnAxes, GotoState, InStr, IsA, IsChildState, IsInState, IsNetScript, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, OrthoRotation, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointInBox, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RandRange, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, SaveConfig, SClampRotAxis, ScriptTrace, SetSpecialValue, SetUTracing, Sin, Split, Sqrt, Square, StaticClearConfig, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Variables Detail

bSentResponse Source code

var protected bool bSentResponse;

bSentText Source code

var protected bool bSentText;

CharSet Source code

var localized string CharSet;

Connection Source code

var WebConnection Connection;

headers Source code

var array<string> headers;

IncludePath Source code

var const config string IncludePath;

ReplacementMap Source code

var private native const Map_Mirror ReplacementMap;


Functions Detail

AddHeader Source code

function AddHeader ( string header, optional bool bReplace=true) )
Add/update a header to the headers list. It will be send at the first possible occasion. To completely remove a given header simply give it an empty value, "X-Header:" To add multiple headers with the same name (need for Set-Cookie) you'll need to edit the headers array directly.

ClearSubst Source code

native final function ClearSubst ( )

Dump Source code

native final function Dump ( )

FailAuthentication Source code

function FailAuthentication ( string Realm) )

FileExists Source code

native final function bool FileExists ( string Filename )

GetHTTPExpiration Source code

native final function string GetHTTPExpiration ( optional int OffsetSeconds )

HTTPError Source code

function HTTPError ( int ErrorNum, optional string Data) )

HTTPHeader Source code

function HTTPHeader ( string Header) )
Will actually send a header. You should not call this method, queue the headers through the AddHeader() method.

HTTPResponse Source code

function HTTPResponse ( string Header) )
Send the HTTP response code.

IncludeBinaryFile Source code

native final function bool IncludeBinaryFile ( string Filename )

IncludeUHTM Source code

native final function bool IncludeUHTM ( string Filename )

LoadParsedUHTM Source code

native final function string LoadParsedUHTM ( string Filename )

Redirect Source code

function Redirect ( string URL) )

SendBinary Source code

event SendBinary ( int Count, byte B[255]) )

SendCachedFile Source code

function bool SendCachedFile ( string Filename, optional string ContentType) )

SendHeaders Source code

function SendHeaders ( ) )
Send the stored headers.

SendStandardHeaders Source code

function SendStandardHeaders ( optional string ContentType, optional bool bCache ) )
Send the standard response headers.

SendText Source code

event SendText ( string Text, optional bool bNoCRLF) )

SentResponse Source code

function bool SentResponse ( ) )

SentText Source code

function bool SentText ( ) )

Subst Source code

native final function Subst ( string Variable, coerce string Value, optional bool bClear )


Defaultproperties

defaultproperties
{
   IncludePath="/Web"
   Name="Default__WebResponse"
   ObjectArchetype=Object'Core.Default__Object'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:01:03.216 - Created with UnCodeX