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 Code |
---|---|
public abstract class CmsRequest |
Visual Basic (Declaration) | Copy Code |
---|---|
Public MustInherit Class CmsRequest |
The type exposes the following members.
Protected Constructors
Name | Description | |
---|---|---|
CmsRequest |
Initializes a new instance of the CmsRequest class.
|
Public Methods
Name | Description | |
---|---|---|
BinaryRead |
Performs a binary read of a specified number of bytes from the current input stream.
|
|
Equals | (Inherited from Object.) | |
GetBinaryBody |
Returns the body of the request as a byte array
|
|
GetBody |
Returns the body of the request as a string
|
|
GetData |
Gets an element in the data collection added to the current request.
In a Web environment, this will be the posted form data. |
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IsPostback |
Gets a value indicating whether the request is a postback from the same page.
|
|
IsPosted |
Determines whether this request is posted.
|
|
LoadPersistedPost |
Loads the persisted post data into the form if available.
|
|
PersistPost |
Persists the post data for later retrieval.
|
|
ResetMapping |
Remaps the request to a new location.
|
|
SetBinaryBody |
Sets the binary body.
|
|
SetRequestBody |
Sets the request body.
|
|
ToString | (Overrides Object..::ToString()()()().) | |
Transfer |
Transfers rendering to the specified item or local application.
|
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SetRestoreState |
Protected Fields
Name | Description | |
---|---|---|
contentEncoding |
Encoding of the request content
|
|
getPersistedPost |
Flag to set in order to retrieve persisted post data.
|
|
requestContentType |
Body MIME Type
|
Public Properties
Name | Description | |
---|---|---|
AnonymousID |
Gets or sets the anonymous identifier for the user.
|
|
Channel |
Returns a reference to the Channel
|
|
Client |
Gets or sets the user agent / client.
|
|
Commands |
Gets or sets the request commands.
|
|
ContentType |
Gets the MIME type of the request body.
|
|
Data |
Data added to the request
|
|
Encoding |
Returns the encoding used by the request
|
|
Engine |
Returns the RenderEngine the request is associated with.
|
|
Files |
Gets the files associated with the request
|
|
Instance |
Returns a reference to the root object in the current context
|
|
IsAimRequest |
Gets a value indicating whether this instance is an AIM request.
|
|
IsInternal |
Gets or sets the internal rendering mode.
|
|
IsJson |
Gets a value indicating whether this request is a json request.
|
|
IsVirtualCmsFile |
Gets a value indicating whether this request is done by the Smartsite Virtual Path Provider.
|
|
JsonObject |
Returns the Json object represented by the request body if the request MIME type is application/json
|
|
Locale |
Gets the channel Locale instance for the current render channel.
|
|
Location |
Gets the Locator address of the request.
|
|
MetaData |
Meta data added to the request
|
|
Method |
Method name of the request. In HTTP requests, usually GET or POST.
|
|
RawUrl |
Gets the raw URL of the request.
|
|
RestoreState |
Gets a value indicating whether form data was restored from persisted state.
|
|
State |
Gets a key/value collection that can be used to organize and share data during a Cms request.
|
|
TotalBytes |
Gets the number of bytes in the current input stream.
|
|
UserProfile |
Gets or sets security information for the current HTTP request.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IRenderDeviceContext..::..SetChannel |
Sets the channel.
|
|
IRenderDeviceContext..::..SetItem |
Sets the item.
|
See Also
Smartsite.Core Namespace