Uiinfrastructure API Docs  
 

WebData Methods

The methods of the WebData class are listed below. For a complete list of WebData class members, see the WebData Members topic.

Public Instance Methods

AddCookie Call this method to add a cookie to the response.
ClearAllData This method is used to clear all of the underlying data from this object to ensure that no memory is "leaked" if a Display Page mistakenly maintains a reference to this object.
ClearOutputData This clears the data to be output (text or binary) so that this object can be used again. Some of this data can still be transmitted if it has already been written to the response by the time this method is called.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FlushData 
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
HasSentData This method tells you whether or not the data on this object has already been sent using the OutputData() method.
IsBinaryData This method tells you whether or not the data on this object is binary. If it is binary, you can't add text data after the binary data.
IsDataSet This method tells you whether or not the data on this object is already set using either of the SetData() methods.
IsHTMLData This method tells you whether or not the data on this object is HTML text.
OutputData This method outputs the data to the browser. This should only be called by the Interpreter after data has been set on this object by the IDisplayPage.
RequireNonEmptyBody This method determines if WebData object will throw an exception in case of sending an empty body of not.
SendRedirect Sends a true 302 redirect immediatly.
SetContentLanguage JF- Helper method to set the content language header from the locale.
SetDataOverloaded.  
SetDataSent This method marks the data as being sent so that this page cannot be redisplayed.
SetDateHeaderOverloaded.  
SetHeader 
SetIsHTMLText 
setResponse 
SetStatus 
SetSuppressAutomaticHeaders This method turns on or off automatic HTTP headers (such as the automatic expires header set to now). Default is to add automatic HTTP headers.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

WebData Class | com.plumtree.uiinfrastructure.activityspace Namespace