THttpReply

[class description]

Unit

IW.HTTP.Reply

Class hierarchy

TObject -> THttpReply

Methods

Create

   [Public]

Declaration:

constructor Create(aBuffer: PByte; const aSize: Integer); 

Description: Constructs an instance of the class THttpReply and initializes its data.

Parameters:

  • aBuffer (PByte): [param description]
  • aSize (Integer): [param description]

Commit

   [Public]

Declaration:

procedure Commit; 

Description: [method description]


WriteString

   [Public]

Declaration:

procedure WriteString(const aValue: string); 

Description: [method description]

Parameters:

  • aValue (string): [param description]

SendRenderStream

   [Public]

Declaration:

procedure SendRenderStream(aStream: TIWRenderStream); 

Description: [method description]

Parameters:

  • aStream (TIWRenderStream): [param description]

SendStream

   [Public]

Declaration:

procedure SendStream(aStream: TStream; const aDisableCacheControl: boolean = False); 

Description: [method description]

Parameters:

  • aStream (TStream): [param description]
  • aDisableCacheControl (boolean): [param description]

SendHsmStream

   [Public]

Declaration:

procedure SendHsmStream(aStream: THsmStream); 

Description: [method description]

Parameters:

  • aStream (THsmStream): [param description]

SendFile

   [Public]

Declaration:

procedure SendFile(const aPathname: string; const aDisableCacheControl: Boolean; const aDelete: Boolean); 

Description: [method description]

Parameters:

  • aPathname (string): [param description]
  • aDisableCacheControl (Boolean): [param description]
  • aDelete (Boolean): [param description]

SendCacheFile

   [Public]

Declaration:

procedure SendCacheFile(const aPathname: string); 

Description: [method description]

Parameters:

  • aPathname (string): [param description]

SendRedirect

   [Public]

Declaration:

procedure SendRedirect(const aURL: string); overload; 

Description: [method description]

Parameters:

  • aURL (string): [param description]

SendRedirect

   [Public]

Declaration:

procedure SendRedirect(const aURL: string; aStatusCode: Integer); overload; 

Description: [method description]

Parameters:

  • aURL (string): [param description]
  • aStatusCode (Integer): [param description]

ResetReplyType

   [Public]

Declaration:

procedure ResetReplyType; 

Description: [method description]


AddHeader

   [Public]

Declaration:

procedure AddHeader(const aName, aValue: string); 

Description: [method description]

Parameters:

  • aName, aValue (string): [param description]

Clear

   [Public]

Declaration:

procedure Clear; 

Description: [method description]


Properties

AllowCaching: boolean

   [Public, Read/Write]

[property description]

AuthRealm: string

   [Public, Read/Write]

[property description]

CacheTTL: Integer

   [Public, Read/Write]

[property description]

Code: Word

   [Public, Read/Write]

[property description]

CodeText: string

   [Public, Read/Write]

[property description]

ContentType: string

   [Public, Read/Write]

[property description]

Cookies: THttpCookieList

   [Public, Read only]

[property description]

LastModified: TDateTime

   [Public, Read/Write]

[property description]

Headers: TStrings

   [Public, Read/Write]

[property description]

Expires: TDateTime

   [Public, Read/Write]

[property description]

DataType: THttpReplyType

   [Public, Read only]

[property description]

ServerPort: Integer

   [Public, Read/Write]

[property description]

SendingFile: Boolean

   [Public, Read/Write]

[property description]

CacheControlEnabled: Boolean

   [Public, Read/Write]

workaround for IE8 + SSL download bug: http://support.microsoft.com/kb/323308/en-us

IECompatibilityMode: string

   [Public, Read/Write]

[property description]

P3P: string

   [Public, Read/Write]

[property description]