C# Class Senparc.Weixin.MP.TenPayLib.ClientRequestHandler

显示文件 Open project: Chinaccn/surfboard

Protected Properties

Property Type Description
HttpContext System.Web.HttpContext
Parameters System.Collections.Hashtable

Public Methods

Method Description
ClientRequestHandler ( HttpContext httpContext ) : System.Collections
DoSend ( ) : void
GetAllParameters ( ) : Hashtable
GetDebugInfo ( ) : string

获取debug信息

GetGateUrl ( ) : string

获取入口地址,不包含参数值

GetKey ( ) : string

获取密钥

GetParameter ( string parameter ) : string

获取参数值

GetRequestURL ( ) : string

获取带参数的请求URL @return String

Init ( ) : void

初始化函数

SetDebugInfo ( string debugInfo ) : void

设置debug信息

SetGateUrl ( string gateUrl ) : void

设置入口地址,不包含参数值

SetKey ( string key ) : void

设置密钥

SetParameter ( string parameter, string parameterValue ) : void

设置参数值

Protected Methods

Method Description
CreateSign ( ) : void

创建md5摘要,规则是:按参数名称a-z排序,遇到空值的参数不参加签名。

GetCharset ( ) : string

Method Details

ClientRequestHandler() public method

public ClientRequestHandler ( HttpContext httpContext ) : System.Collections
httpContext System.Web.HttpContext
return System.Collections

CreateSign() protected method

创建md5摘要,规则是:按参数名称a-z排序,遇到空值的参数不参加签名。
protected CreateSign ( ) : void
return void

DoSend() public method

public DoSend ( ) : void
return void

GetAllParameters() public method

public GetAllParameters ( ) : Hashtable
return System.Collections.Hashtable

GetCharset() protected method

protected GetCharset ( ) : string
return string

GetDebugInfo() public method

获取debug信息
public GetDebugInfo ( ) : string
return string

GetGateUrl() public method

获取入口地址,不包含参数值
public GetGateUrl ( ) : string
return string

GetKey() public method

获取密钥
public GetKey ( ) : string
return string

GetParameter() public method

获取参数值
public GetParameter ( string parameter ) : string
parameter string
return string

GetRequestURL() public method

获取带参数的请求URL @return String
public GetRequestURL ( ) : string
return string

Init() public method

初始化函数
public Init ( ) : void
return void

SetDebugInfo() public method

设置debug信息
public SetDebugInfo ( string debugInfo ) : void
debugInfo string
return void

SetGateUrl() public method

设置入口地址,不包含参数值
public SetGateUrl ( string gateUrl ) : void
gateUrl string
return void

SetKey() public method

设置密钥
public SetKey ( string key ) : void
key string
return void

SetParameter() public method

设置参数值
public SetParameter ( string parameter, string parameterValue ) : void
parameter string
parameterValue string
return void

Property Details

HttpContext protected_oe property

protected HttpContext,System.Web HttpContext
return System.Web.HttpContext

Parameters protected_oe property

请求的参数
protected Hashtable,System.Collections Parameters
return System.Collections.Hashtable