C# 클래스 Senparc.Weixin.MP.TenPayLib.ClientRequestHandler

파일 보기 프로젝트 열기: Chinaccn/surfboard

보호된 프로퍼티들

프로퍼티 타입 설명
HttpContext System.Web.HttpContext
Parameters System.Collections.Hashtable

공개 메소드들

메소드 설명
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

设置参数值

보호된 메소드들

메소드 설명
CreateSign ( ) : void

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

GetCharset ( ) : string

메소드 상세

ClientRequestHandler() 공개 메소드

public ClientRequestHandler ( HttpContext httpContext ) : System.Collections
httpContext System.Web.HttpContext
리턴 System.Collections

CreateSign() 보호된 메소드

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

DoSend() 공개 메소드

public DoSend ( ) : void
리턴 void

GetAllParameters() 공개 메소드

public GetAllParameters ( ) : Hashtable
리턴 System.Collections.Hashtable

GetCharset() 보호된 메소드

protected GetCharset ( ) : string
리턴 string

GetDebugInfo() 공개 메소드

获取debug信息
public GetDebugInfo ( ) : string
리턴 string

GetGateUrl() 공개 메소드

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

GetKey() 공개 메소드

获取密钥
public GetKey ( ) : string
리턴 string

GetParameter() 공개 메소드

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

GetRequestURL() 공개 메소드

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

Init() 공개 메소드

初始化函数
public Init ( ) : void
리턴 void

SetDebugInfo() 공개 메소드

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

SetGateUrl() 공개 메소드

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

SetKey() 공개 메소드

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

SetParameter() 공개 메소드

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

프로퍼티 상세

HttpContext 보호되어 있는 프로퍼티

protected HttpContext,System.Web HttpContext
리턴 System.Web.HttpContext

Parameters 보호되어 있는 프로퍼티

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