OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
OpenSim.Framework.Servers.HttpServer.IOSHttpResponse Interface Reference
Inheritance diagram for OpenSim.Framework.Servers.HttpServer.IOSHttpResponse:
Inheritance graph
[legend]

Public Member Functions

void AddHeader (string key, string value)
 Add a header field and content to the response. More...
 

Properties

string ContentType [get, set]
 Content type property. More...
 
long ContentLength [get, set]
 Boolean property indicating whether the content type property actively has been set. More...
 
long ContentLength64 [get, set]
 Alias for ContentLength. More...
 
Encoding ContentEncoding [get, set]
 Encoding of the body content. More...
 
bool KeepAlive [get, set]
 
int KeepAliveTimeout [get, set]
 Get or set the keep alive timeout property (default is 20). Setting this to 0 also disables KeepAlive. Setting this to something else but 0 also enable KeepAlive. More...
 
Stream OutputStream [get]
 Return the output stream feeding the body. More...
 
string ProtocolVersion [get, set]
 
Stream Body [get]
 Return the output stream feeding the body. More...
 
string RedirectLocation [set]
 Set a redirct location. More...
 
bool SendChunked [get, set]
 Chunk transfers. More...
 
int StatusCode [get, set]
 HTTP status code. More...
 
string StatusDescription [get, set]
 HTTP status description. More...
 
bool ReuseContext [get, set]
 

Detailed Description

Definition at line 38 of file IOSHttpResponse.cs.

Member Function Documentation

void OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.AddHeader ( string  key,
string  value 
)

Add a header field and content to the response.

Parameters
keystring containing the header field name
valuestring containing the header field value

Implemented in OpenSim.Framework.Servers.HttpServer.OSHttpResponse, and OpenSim.Tests.Common.TestOSHttpResponse.

Here is the caller graph for this function:

Property Documentation

Stream OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.Body
get

Return the output stream feeding the body.

Definition at line 99 of file IOSHttpResponse.cs.

Encoding OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.ContentEncoding
getset

Encoding of the body content.

Definition at line 75 of file IOSHttpResponse.cs.

long OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.ContentLength
getset

Boolean property indicating whether the content type property actively has been set.

IsContentTypeSet will go away together with .NET base.

Length of the body content; 0 if there is no body.

Definition at line 65 of file IOSHttpResponse.cs.

long OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.ContentLength64
getset

Alias for ContentLength.

Definition at line 70 of file IOSHttpResponse.cs.

string OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.ContentType
getset

Content type property.

Setting this property will also set IsContentTypeSet to true.

Definition at line 47 of file IOSHttpResponse.cs.

bool OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.KeepAlive
getset

Definition at line 77 of file IOSHttpResponse.cs.

int OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.KeepAliveTimeout
getset

Get or set the keep alive timeout property (default is 20). Setting this to 0 also disables KeepAlive. Setting this to something else but 0 also enable KeepAlive.

Definition at line 84 of file IOSHttpResponse.cs.

Stream OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.OutputStream
get

Return the output stream feeding the body.

On its way out...

Definition at line 92 of file IOSHttpResponse.cs.

string OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.ProtocolVersion
getset

Definition at line 94 of file IOSHttpResponse.cs.

string OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.RedirectLocation
set

Set a redirct location.

Definition at line 104 of file IOSHttpResponse.cs.

bool OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.ReuseContext
getset

Definition at line 121 of file IOSHttpResponse.cs.

bool OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.SendChunked
getset

Chunk transfers.

Definition at line 109 of file IOSHttpResponse.cs.

int OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.StatusCode
getset

HTTP status code.

Definition at line 114 of file IOSHttpResponse.cs.

string OpenSim.Framework.Servers.HttpServer.IOSHttpResponse.StatusDescription
getset

HTTP status description.

Definition at line 119 of file IOSHttpResponse.cs.


The documentation for this interface was generated from the following file: