JHRequest Class

DCSoft.DBUtilityGeneric

JHRequest Class
获取当前 HTTP 请求的信息,该类为密封类
Inheritance Hierarchy
SystemObject  DCSoft.Utility.WebJHRequest

Namespace: DCSoft.Utility.Web
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class JHRequest

The JHRequest type exposes the following members.

Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodStatic memberGetFormDataTtype(String)
获取 HTTP 查询字符串变量集合中指定键的值,已去除首尾空格,如果异常或获取为 null,则返回当前类型的默认值 default(Ttype)
Public methodStatic memberGetFormDataTtype(String, Ttype)
获取 HTTP 查询字符串变量集合中指定键的值,已去除首尾空格
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetQueryDataTtype(String)
获取窗体变量集合中指定键的值,已去除首尾空格
Public methodStatic memberGetQueryDataTtype(String, Ttype)
获取窗体变量集合中指定键的值,已去除首尾空格
Public methodStatic memberGetServerVariable(String)
获取 Web 服务器变量集合中的特定项,已去除首尾空格,默认值为 string.Empty
Public methodStatic memberGetServerVariable(String, String)
获取 Web 服务器变量集合中的特定项,已去除首尾空格,如果获取为 null,则返回默认值 defaultValue
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Properties
  NameDescription
Public propertyStatic memberHasSupportCookie
获取一个值,该值指示浏览器是否支持 Cookie
Public propertyStatic memberHistoryUrl
返回上次请求 URL 的地址,不存在返回 string.Empty
Public propertyStatic memberUserHostIP
获取客户端的 IP 主机地址
Public propertyStatic memberUserHostName
获取客户端的 DNS 名称
Top
See Also