OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
OpenSim.Tests.Common.TestHttpRequest Class Reference
Inheritance diagram for OpenSim.Tests.Common.TestHttpRequest:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Tests.Common.TestHttpRequest:
Collaboration graph
[legend]

Public Member Functions

 TestHttpRequest ()
 
 TestHttpRequest (string contentEncoding, string contentType, string userAgent, string remoteAddr, string remotePort, string[] acceptTypes, ConnectionType connectionType, int contentLength, Uri uri)
 
void DecodeBody (FormDecoderProvider providers)
 
void SetCookies (RequestCookies cookies)
 
void AddHeader (string name, string value)
 
int AddToBody (byte[] bytes, int offset, int length)
 
void Clear ()
 
object Clone ()
 
IHttpResponse CreateResponse (IHttpClientContext context)
 

Properties

bool BodyIsComplete [get]
 
string[] AcceptTypes [get]
 
Stream Body [get, set]
 
ConnectionType Connection [get, set]
 
int ContentLength [get, set]
 
NameValueCollection Headers [get]
 
string HttpVersion [get, set]
 
string Method [get, set]
 
HttpInput QueryString [get]
 
Uri Uri [get, set]
 
string[] UriParts [get]
 
HttpParam Param [get]
 
HttpForm Form [get]
 
bool IsAjax [get]
 
RequestCookies Cookies [get]
 
string UriPath [get, set]
 Path and query (will be merged with the host header) and put in Uri More...
 

Detailed Description

Definition at line 36 of file TestHttpRequest.cs.

Constructor & Destructor Documentation

OpenSim.Tests.Common.TestHttpRequest.TestHttpRequest ( )
inline

Definition at line 112 of file TestHttpRequest.cs.

OpenSim.Tests.Common.TestHttpRequest.TestHttpRequest ( string  contentEncoding,
string  contentType,
string  userAgent,
string  remoteAddr,
string  remotePort,
string[]  acceptTypes,
ConnectionType  connectionType,
int  contentLength,
Uri  uri 
)
inline

Definition at line 117 of file TestHttpRequest.cs.

Member Function Documentation

void OpenSim.Tests.Common.TestHttpRequest.AddHeader ( string  name,
string  value 
)
inline

Definition at line 135 of file TestHttpRequest.cs.

int OpenSim.Tests.Common.TestHttpRequest.AddToBody ( byte[]  bytes,
int  offset,
int  length 
)
inline

Definition at line 139 of file TestHttpRequest.cs.

void OpenSim.Tests.Common.TestHttpRequest.Clear ( )
inline

Definition at line 143 of file TestHttpRequest.cs.

object OpenSim.Tests.Common.TestHttpRequest.Clone ( )
inline

Definition at line 145 of file TestHttpRequest.cs.

IHttpResponse OpenSim.Tests.Common.TestHttpRequest.CreateResponse ( IHttpClientContext  context)
inline

Definition at line 156 of file TestHttpRequest.cs.

void OpenSim.Tests.Common.TestHttpRequest.DecodeBody ( FormDecoderProvider  providers)
inline

Definition at line 133 of file TestHttpRequest.cs.

void OpenSim.Tests.Common.TestHttpRequest.SetCookies ( RequestCookies  cookies)
inline

Definition at line 134 of file TestHttpRequest.cs.

Property Documentation

string [] OpenSim.Tests.Common.TestHttpRequest.AcceptTypes
get

Definition at line 44 of file TestHttpRequest.cs.

Stream OpenSim.Tests.Common.TestHttpRequest.Body
getset

Definition at line 49 of file TestHttpRequest.cs.

bool OpenSim.Tests.Common.TestHttpRequest.BodyIsComplete
get

Definition at line 40 of file TestHttpRequest.cs.

ConnectionType OpenSim.Tests.Common.TestHttpRequest.Connection
getset

Definition at line 55 of file TestHttpRequest.cs.

int OpenSim.Tests.Common.TestHttpRequest.ContentLength
getset

Definition at line 61 of file TestHttpRequest.cs.

RequestCookies OpenSim.Tests.Common.TestHttpRequest.Cookies
get

Definition at line 108 of file TestHttpRequest.cs.

HttpForm OpenSim.Tests.Common.TestHttpRequest.Form
get

Definition at line 100 of file TestHttpRequest.cs.

NameValueCollection OpenSim.Tests.Common.TestHttpRequest.Headers
get

Definition at line 67 of file TestHttpRequest.cs.

string OpenSim.Tests.Common.TestHttpRequest.HttpVersion
getset

Definition at line 72 of file TestHttpRequest.cs.

bool OpenSim.Tests.Common.TestHttpRequest.IsAjax
get

Definition at line 104 of file TestHttpRequest.cs.

string OpenSim.Tests.Common.TestHttpRequest.Method
getset

Definition at line 75 of file TestHttpRequest.cs.

HttpParam OpenSim.Tests.Common.TestHttpRequest.Param
get

Definition at line 96 of file TestHttpRequest.cs.

HttpInput OpenSim.Tests.Common.TestHttpRequest.QueryString
get

Definition at line 81 of file TestHttpRequest.cs.

Uri OpenSim.Tests.Common.TestHttpRequest.Uri
getset

Definition at line 86 of file TestHttpRequest.cs.

string [] OpenSim.Tests.Common.TestHttpRequest.UriParts
get

Definition at line 92 of file TestHttpRequest.cs.

string OpenSim.Tests.Common.TestHttpRequest.UriPath
getset

Path and query (will be merged with the host header) and put in Uri

Uri

Definition at line 165 of file TestHttpRequest.cs.


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