This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.

Syntax

C# Copy imageCopy Code
                                  public class SimpleCmsRequest
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class SimpleCmsRequest

The type exposes the following members.

Public Constructors

  Name Description
Public method SimpleCmsRequest Overloaded.

Public Methods

  Name Description
Public method BinaryRead
Performs a binary read of a specified number of bytes from the current input stream.
(Inherited from CmsRequest.)
Public method Dispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public method Equals (Inherited from Object.)
Public method GetBinaryBody
Returns the body of the request as a byte array
(Inherited from CmsRequest.)
Public method GetBody
Returns the body of the request as a string
(Inherited from CmsRequest.)
Public method GetData
Gets an element in the data collection added to the current request.
In a Web environment, this will be the posted form data.
(Inherited from CmsRequest.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method IsPostback
Gets a value indicating whether the request is a postback from the same page.
(Inherited from CmsRequest.)
Public method IsPosted
Determines whether this request is posted.
(Inherited from CmsRequest.)
Public method LoadPersistedPost
Loads the persisted post data into the form if available.
(Inherited from CmsRequest.)
Public method PersistPost
Persists the post data for later retrieval.
(Inherited from CmsRequest.)
Public method ResetMapping
Remaps the request to a new location.
(Inherited from CmsRequest.)
Public method SetBinaryBody
Sets the binary body.
(Inherited from CmsRequest.)
Public method SetRequestBody
Sets the request body.
(Inherited from CmsRequest.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from CmsRequest.)
Public method Transfer
Transfers rendering to the specified item or local application.
(Inherited from CmsRequest.)

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetRestoreState (Inherited from CmsRequest.)

Protected Fields

  Name Description
Protected field contentEncoding
Encoding of the request content
(Inherited from CmsRequest.)
Protected field getPersistedPost
Flag to set in order to retrieve persisted post data.
(Inherited from CmsRequest.)
Protected field requestContentType
Body MIME Type
(Inherited from CmsRequest.)

Public Properties

  Name Description
Public property AnonymousID
Gets or sets the anonymous identifier for the user.
(Inherited from CmsRequest.)
Public property Channel
Returns a reference to the Channel
(Inherited from CmsRequest.)
Public property Client
Gets or sets the user agent / client.
(Inherited from CmsRequest.)
Public property Commands
Gets or sets the request commands.
(Inherited from CmsRequest.)
Public property ContentType
Gets the MIME type of the request body.
(Inherited from CmsRequest.)
Public property Data
Data added to the request
(Inherited from CmsRequest.)
Public property Encoding
Returns the encoding used by the request
(Inherited from CmsRequest.)
Public property Engine
Returns the RenderEngine the request is associated with.
(Inherited from CmsRequest.)
Public property Files
Returns a dictionary containg the files uploaded with the request.
(Overrides CmsRequest..::Files.)
Public property Instance
Returns a reference to the root object in the current context
(Inherited from CmsRequest.)
Public property IsAimRequest
Gets a value indicating whether this instance is an AIM request.
(Inherited from CmsRequest.)
Public property IsInternal
Gets or sets the internal rendering mode.
(Inherited from CmsRequest.)
Public property IsJson
Gets a value indicating whether this request is a json request.
(Inherited from CmsRequest.)
Public property IsVirtualCmsFile
Gets a value indicating whether this request is done by the Smartsite Virtual Path Provider.
(Inherited from CmsRequest.)
Public property JsonObject
Returns the Json object represented by the request body if the request MIME type is application/json
(Inherited from CmsRequest.)
Public property Locale
Gets the channel Locale instance for the current render channel.
(Inherited from CmsRequest.)
Public property Location
Gets the Locator address of the request.
(Inherited from CmsRequest.)
Public property MetaData
Meta data added to the request
(Inherited from CmsRequest.)
Public property Method
Method name of the request. In HTTP requests, usually GET or POST.
(Inherited from CmsRequest.)
Public property RawUrl
Gets the raw URL of the request.
(Inherited from CmsRequest.)
Public property RestoreState
Gets a value indicating whether form data was restored from persisted state.
(Inherited from CmsRequest.)
Public property State
Gets a key/value collection that can be used to organize and share data during a Cms request.
(Overrides CmsRequest..::State.)
Public property TotalBytes
Gets the number of bytes in the current input stream.
(Inherited from CmsRequest.)
Public property UserProfile
Gets or sets security information for the current HTTP request.
(Inherited from CmsRequest.)

Explicit Interface Implementations

  Name Description
Explicit interface implemetation Private method IRenderDeviceContext..::..SetChannel
Sets the channel.
(Inherited from CmsRequest.)
Explicit interface implemetation Private method IRenderDeviceContext..::..SetItem
Sets the item.
(Inherited from CmsRequest.)

See Also

Advanced