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 class CmsResponse |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Class CmsResponse |
The type exposes the following members.
Public Constructors
Name | Description | |
---|---|---|
CmsResponse |
Initializes a new instance of the CmsResponse class.
|
Public Methods
Name | Description | |
---|---|---|
AddHeader |
Adds the response header.
(Inherited from ResponseInfoBase.) |
|
CopyTo |
Copies the values of this instance to specified target.
(Inherited from CmsResponseInfo.) |
|
CreateCacheKey |
Creates the cache key.
(Inherited from CmsResponseInfo.) |
|
Dispose | Overloaded. | |
End |
Ends the response immediately.
|
|
Equals | (Inherited from Object.) | |
Flush |
Flushes the underlying stream.
|
|
GetBytes |
Returns the response stream as a byte array
|
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Redirect |
Redirects the response to the specified address.
|
|
SetHeadersReadOnly |
Sets the headers in read-only state.
(Inherited from ResponseInfoBase.) |
|
ToString | (Overrides Object..::ToString()()()().) | |
TransmitHeaders |
Transmits the headers of this instance to specified http response.
(Inherited from ResponseInfoBase.) |
|
UpdateLastModifiedDate |
Updates the last modified date of the response, if the given date is newer than the current one.
|
|
Write | Overloaded. | |
WriteLine |
Writes the specified data into the response stream, appending a line feed.
|
Protected Methods
Name | Description | |
---|---|---|
CreateOutputStream |
Creates the output stream.
|
|
Dispose | Overloaded. | |
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnBeforeWriteContent |
Raised just before content is written
|
|
OnContentTypeChanged |
Called when the content type has changed.
(Inherited from ResponseInfoBase.) |
|
OnEncodingChanged |
Called when the encoding has changed.
(Inherited from ResponseInfo.) |
|
WriteHeaders |
Writes the headers to the output
|
Public Properties
Name | Description | |
---|---|---|
BufferOutput |
Gets or sets if the output should be buffered before sending it to the client. Not supported by all devices.
|
|
Cacheable |
Gets or sets a value indicating whether the response is cacheable on the client.
(Inherited from ResponseInfoBase.) |
|
ContentType |
Gets or sets the type of the content.
(Inherited from ResponseInfoBase.) |
|
Encoding |
Gets or sets the encoding.
(Overrides ResponseInfo..::Encoding.) |
|
Headers |
Gets the headers associated with this response.
(Inherited from ResponseInfoBase.) |
|
IsclientConnected |
Gets a value indicating whether the client is still waiting for a response.
(Inherited from ResponseInfoBase.) |
|
IsCmsResponse |
Gets a value indicating whether this instance is CMS response.
(Inherited from CmsResponseInfo.) |
|
IsResponseFiltered |
Gets a value indicating whether the response is filtered.
|
|
Item |
Gets the Cms item associated with the response.
|
|
ItemNr |
Gets the CMS item number associated with this instance.
(Overrides CmsResponseInfo..::ItemNr.) |
|
LastModified |
Gets or sets the last modified.
(Inherited from ResponseInfoBase.) |
|
MaxAge |
Gets or sets the max-age timespan.
(Inherited from ResponseInfoBase.) |
|
Metadata |
Gets the metadata associated with this response.
(Inherited from ResponseInfo.) |
|
RequestBaseUrl |
Gets or sets the base URL of the request.
(Overrides ResponseInfo..::RequestBaseUrl.) |
|
RequestFileName |
Gets or sets the file name of the request.
(Overrides ResponseInfo..::RequestFileName.) |
|
RequestUrl |
Gets or sets the request URL.
(Overrides ResponseInfo..::RequestUrl.) |
|
Status |
Gets or sets the response status.
|
|
StatusCode |
Gets or sets the status code.
|
|
StatusMessage |
Gets or sets the status.
|
|
Stream |
Gets the output stream.
|
|
SubStatusCode |
Gets or sets the sub status code.
|
|
UseNumericEntityFallback |
Gets or sets a value indicating whether to use numeric entity fallback when writing text using the current encoding.
|
See Also
Smartsite.Core Namespace