Home > Class Reference > ENSLIB namespace > %CSP.Stream

%CSP.Stream

abstract class %CSP.Stream

The %CSP.Stream class implements a base class for multipart/mime streams sent to the CSP Server.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property CharSet as %String [ Calculated ];
This property is ignored unless ContentType=text/... Sets the Character Set for the content-type header.
Property methods: CharSetDisplayToLogical(), CharSetGet(), CharSetIsValid(), CharSetLogicalToDisplay(), CharSetLogicalToOdbc(), CharSetNormalize(), CharSetSet()
property ContentType as %String [ Calculated ];
The MIME content type of the stream
Property methods: ContentTypeDisplayToLogical(), ContentTypeGet(), ContentTypeIsValid(), ContentTypeLogicalToDisplay(), ContentTypeLogicalToOdbc(), ContentTypeNormalize(), ContentTypeSet()
property Expires as %String [ Calculated ];
If defined this property will set the 'Expires' property of the %response object to allow the stream to be cached.
Property methods: ExpiresDisplayToLogical(), ExpiresGet(), ExpiresIsValid(), ExpiresLogicalToDisplay(), ExpiresLogicalToOdbc(), ExpiresNormalize(), ExpiresSet()
property FileName as %String [ Calculated ];
When a file is uploaded from the browser this is the filename on the users system of this file.
Property methods: FileNameDisplayToLogical(), FileNameGet(), FileNameIsValid(), FileNameLogicalToDisplay(), FileNameLogicalToOdbc(), FileNameNormalize(), FileNameSet()
property Headers as %String [ Calculated ];
Full list of the headers associated with this mime section
Property methods: HeadersDisplayToLogical(), HeadersGet(), HeadersIsValid(), HeadersLogicalToDisplay(), HeadersLogicalToOdbc(), HeadersNormalize(), HeadersSet()
property MimeSection as %String [ Calculated ];
When a file is uploaded from the browser this is the mime section of this file.
Property methods: MimeSectionDisplayToLogical(), MimeSectionGet(), MimeSectionIsValid(), MimeSectionLogicalToDisplay(), MimeSectionLogicalToOdbc(), MimeSectionNormalize(), MimeSectionSet()

Methods (Including Private)

final method CharSetGet() as %String
Retrieve the value of the CharSet property
final method CharSetSet(value As %String) as %Status
Set the value of the CharSet property
final method ContentTypeGet() as %String
Retrieve the value of the ContentType property
final method ContentTypeSet(value As %String) as %Status
Set the value of the ContentType property
final method ExpiresGet() as %String
Retrieve the value of the Expires property
final method ExpiresSet(value As %String) as %Status
Set the value of the Expires property
final method FileNameGet() as %String
Retrieve the value of the FileName property
final method FileNameSet(value As %String) as %Status
Set the value of the FileName property
final method HeadersGet() as %String
Retrieve the value of the ContentType property
final method HeadersSet(value As %String) as %Status
Set the value of the ContentType property
final method MimeSectionGet() as %String
Retrieve the value of the MimeSection property
final method MimeSectionSet(value As %String) as %Status
Set the value of the MimeSection property

Subclasses