类 SaRequestForGrpc
java.lang.Object
cn.dev33.satoken.context.grpc.model.SaRequestForGrpc
- 所有已实现的接口:
cn.dev33.satoken.context.model.SaRequest
Request for grpc
- 从以下版本开始:
- 1.34.0
- 作者:
- lym
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明转发请求getCookieValue(String name) 在 [Cookie作用域] 里获取一个值在 [请求头] 里获取一个值返回当前请求的类型在 [请求体] 里获取一个值获取 [请求体] 里提交的所有参数获取 [请求体] 里提交的所有参数名称返回当前请求path (不包括上下文名称)获取底层源对象getUrl()返回当前请求的url,例:http://xxx.com/test从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.dev33.satoken.context.model.SaRequest
getHeader, getParam, getParamNotNull, hasParam, isAjax, isParam, isPath
-
构造器详细资料
-
SaRequestForGrpc
public SaRequestForGrpc()
-
-
方法详细资料
-
getSource
获取底层源对象- 指定者:
getSource在接口中cn.dev33.satoken.context.model.SaRequest
-
getParam
在 [请求体] 里获取一个值- 指定者:
getParam在接口中cn.dev33.satoken.context.model.SaRequest
-
getParamNames
获取 [请求体] 里提交的所有参数名称- 指定者:
getParamNames在接口中cn.dev33.satoken.context.model.SaRequest- 返回:
- 参数名称列表
-
getParamMap
获取 [请求体] 里提交的所有参数- 指定者:
getParamMap在接口中cn.dev33.satoken.context.model.SaRequest- 返回:
- 参数列表
-
getHeader
在 [请求头] 里获取一个值- 指定者:
getHeader在接口中cn.dev33.satoken.context.model.SaRequest
-
getCookieValue
在 [Cookie作用域] 里获取一个值- 指定者:
getCookieValue在接口中cn.dev33.satoken.context.model.SaRequest
-
getRequestPath
返回当前请求path (不包括上下文名称)- 指定者:
getRequestPath在接口中cn.dev33.satoken.context.model.SaRequest
-
getUrl
返回当前请求的url,例:http://xxx.com/test- 指定者:
getUrl在接口中cn.dev33.satoken.context.model.SaRequest- 返回:
- see note
-
getMethod
返回当前请求的类型- 指定者:
getMethod在接口中cn.dev33.satoken.context.model.SaRequest
-
forward
转发请求- 指定者:
forward在接口中cn.dev33.satoken.context.model.SaRequest
-