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 CmsResponse
Visual Basic (Declaration) Copy imageCopy Code
                                  Public Class CmsResponse

The type exposes the following members.

Public Constructors

  Name Description
Public method CmsResponse
Initializes a new instance of the CmsResponse class.

Public Methods

  Name Description
Public method AddHeader
Adds the response header.
(Inherited from ResponseInfoBase.)
Public method CopyTo
Copies the values of this instance to specified target.
(Inherited from CmsResponseInfo.)
Public method CreateCacheKey
Creates the cache key.
(Inherited from CmsResponseInfo.)
Public method Dispose Overloaded.
Public method End
Ends the response immediately.
Public method Equals (Inherited from Object.)
Public method Flush
Flushes the underlying stream.
Public method GetBytes
Returns the response stream as a byte array
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Redirect
Redirects the response to the specified address.
Public method SetHeadersReadOnly
Sets the headers in read-only state.
(Inherited from ResponseInfoBase.)
Public method ToString
Returns a String that represents the current Object.
(Overrides Object..::ToString()()()().)
Public method TransmitHeaders
Transmits the headers of this instance to specified http response.
(Inherited from ResponseInfoBase.)
Public method UpdateLastModifiedDate
Updates the last modified date of the response, if the given date is newer than the current one.
Public method Write Overloaded.
Public method WriteLine
Writes the specified data into the response stream, appending a line feed.

Protected Methods

  Name Description
Protected method CreateOutputStream
Creates the output stream.
Protected method Dispose Overloaded.
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnBeforeWriteContent
Raised just before content is written
Protected method OnContentTypeChanged
Called when the content type has changed.
(Inherited from ResponseInfoBase.)
Protected method OnEncodingChanged
Called when the encoding has changed.
(Inherited from ResponseInfo.)
Protected method WriteHeaders
Writes the headers to the output

Public Properties

  Name Description
Public property BufferOutput
Gets or sets if the output should be buffered before sending it to the client. Not supported by all devices.
Public property Cacheable
Gets or sets a value indicating whether the response is cacheable on the client.
(Inherited from ResponseInfoBase.)
Public property ContentType
Gets or sets the type of the content.
(Inherited from ResponseInfoBase.)
Public property Encoding
Gets or sets the encoding.
(Overrides ResponseInfo..::Encoding.)
Public property Headers
Gets the headers associated with this response.
(Inherited from ResponseInfoBase.)
Public property IsclientConnected
Gets a value indicating whether the client is still waiting for a response.
(Inherited from ResponseInfoBase.)
Public property IsCmsResponse
Gets a value indicating whether this instance is CMS response.
(Inherited from CmsResponseInfo.)
Public property IsResponseFiltered
Gets a value indicating whether the response is filtered.
Public property Item
Gets the Cms item associated with the response.
Public property ItemNr
Gets the CMS item number associated with this instance.
(Overrides CmsResponseInfo..::ItemNr.)
Public property LastModified
Gets or sets the last modified.
(Inherited from ResponseInfoBase.)
Public property MaxAge
Gets or sets the max-age timespan.
(Inherited from ResponseInfoBase.)
Public property Metadata
Gets the metadata associated with this response.
(Inherited from ResponseInfo.)
Public property RequestBaseUrl
Gets or sets the base URL of the request.
(Overrides ResponseInfo..::RequestBaseUrl.)
Public property RequestFileName
Gets or sets the file name of the request.
(Overrides ResponseInfo..::RequestFileName.)
Public property RequestUrl
Gets or sets the request URL.
(Overrides ResponseInfo..::RequestUrl.)
Public property Status
Gets or sets the response status.
Public property StatusCode
Gets or sets the status code.
Public property StatusMessage
Gets or sets the status.
Public property Stream
Gets the output stream.
Public property SubStatusCode
Gets or sets the sub status code.
Public property UseNumericEntityFallback
Gets or sets a value indicating whether to use numeric entity fallback when writing text using the current encoding.

See Also

Advanced