IHttpRequest

Overview

The IHttpRequest Interface represents an Http request to a RemObject SDK-based server.

Objects of this type are used by the Remoting SDK infrastructure to provide information about incoming Http requests to the request processing methods (for example the Process method of the HttpServerChannel class). Classes implementing this interface are used by Http-based channels to represent Http request information in a more generic form while processing it (see the WebChannelInfo class description).

Location


 

AuthPassword

Remote user password.

This property relies on the concrete implementation of the IHttpRequest interface. This property can, for example, correspond to the basic Http authentication credentials.

 

property AuthPassword: String read write;

 

String AuthPassword { get; set; }

 

Property AuthPassword() As String

AuthUsername

Remote user name.

This property relies on the concrete implementation of the IHttpRequest interface. This property can, for example, correspond to the basic Http authentication credentials.

 

property AuthUsername: String read write;

 

String AuthUsername { get; set; }

 

Property AuthUsername() As String

ContentType

The MIME type of this request's content. If; FOR EXAMPLE; this instance contains a .png picture, the ContentType should be set to 'image/png'.

Most notable MIME types are listed on this Wikipedia page.

 

property ContentType: String read;

 

String ContentType { get; }

 

ReadOnly Property ContentType() As String

GetQueryString

 

method GetQueryString(value: String): String

 

String GetQueryString(String value)

 

Function GetQueryString(value As String) As String

Parameters:

  • value:

Collection of Http headers of this request. This property can be used to set various Http headers.

 

property Header: IHttpHeader read;

 

IHttpHeader Header { get; }

 

ReadOnly Property Header() As IHttpHeader

Method

Http method of this request, for example 'GET' or 'POST'. Remoting SDK Http-based client channels send 'POST' as Http method.

 

property Method: String read;

 

String Method { get; }

 

ReadOnly Property Method() As String

QueryString

 

property QueryString: String read;

 

String QueryString { get; }

 

ReadOnly Property QueryString() As String

TargetUrl

Target URL of this Http request. Can be used to determine how to handle this request.

 

property TargetUrl: String read write;

 

String TargetUrl { get; set; }

 

Property TargetUrl() As String

UsesAuthentication

This property is set to true when the current Http request uses authentication methods.

 

property UsesAuthentication: Boolean read write;

 

Boolean UsesAuthentication { get; set; }

 

Property UsesAuthentication() As Boolean

 

AuthPassword

Remote user password.

This property relies on the concrete implementation of the IHttpRequest interface. This property can, for example, correspond to the basic Http authentication credentials.

 

property AuthPassword: String read write;

 

String AuthPassword { get; set; }

 

Property AuthPassword() As String

AuthUsername

Remote user name.

This property relies on the concrete implementation of the IHttpRequest interface. This property can, for example, correspond to the basic Http authentication credentials.

 

property AuthUsername: String read write;

 

String AuthUsername { get; set; }

 

Property AuthUsername() As String

ContentType

The MIME type of this request's content. If; FOR EXAMPLE; this instance contains a .png picture, the ContentType should be set to 'image/png'.

Most notable MIME types are listed on this Wikipedia page.

 

property ContentType: String read;

 

String ContentType { get; }

 

ReadOnly Property ContentType() As String

Collection of Http headers of this request. This property can be used to set various Http headers.

 

property Header: IHttpHeader read;

 

IHttpHeader Header { get; }

 

ReadOnly Property Header() As IHttpHeader

Method

Http method of this request, for example 'GET' or 'POST'. Remoting SDK Http-based client channels send 'POST' as Http method.

 

property Method: String read;

 

String Method { get; }

 

ReadOnly Property Method() As String

QueryString

 

property QueryString: String read;

 

String QueryString { get; }

 

ReadOnly Property QueryString() As String

TargetUrl

Target URL of this Http request. Can be used to determine how to handle this request.

 

property TargetUrl: String read write;

 

String TargetUrl { get; set; }

 

Property TargetUrl() As String

UsesAuthentication

This property is set to true when the current Http request uses authentication methods.

 

property UsesAuthentication: Boolean read write;

 

Boolean UsesAuthentication { get; set; }

 

Property UsesAuthentication() As Boolean

 

GetQueryString

 

method GetQueryString(value: String): String

 

String GetQueryString(String value)

 

Function GetQueryString(value As String) As String

Parameters:

  • value: