public class SaRequestForSolon extends Object implements cn.dev33.satoken.context.model.SaRequest
| Modifier and Type | Field and Description |
|---|---|
protected org.noear.solon.core.handle.Context |
ctx |
| Constructor and Description |
|---|
SaRequestForSolon() |
| Modifier and Type | Method and Description |
|---|---|
Object |
forward(String path) |
String |
getCookieFirstValue(String name)
在 [ Cookie作用域 ] 里获取一个值 (第一个此名称的)
|
String |
getCookieLastValue(String name)
在 [ Cookie作用域 ] 里获取一个值 (最后一个此名称的)
|
String |
getCookieValue(String name) |
String |
getHeader(String s) |
String |
getMethod() |
String |
getParam(String s) |
Map<String,String> |
getParamMap()
获取 [请求体] 里提交的所有参数
|
List<String> |
getParamNames() |
String |
getRequestPath() |
Object |
getSource() |
String |
getUrl() |
public Object getSource()
getSource in interface cn.dev33.satoken.context.model.SaRequestpublic String getParam(String s)
getParam in interface cn.dev33.satoken.context.model.SaRequestpublic List<String> getParamNames()
getParamNames in interface cn.dev33.satoken.context.model.SaRequestpublic Map<String,String> getParamMap()
getParamMap in interface cn.dev33.satoken.context.model.SaRequestpublic String getHeader(String s)
getHeader in interface cn.dev33.satoken.context.model.SaRequestpublic String getCookieValue(String name)
getCookieValue in interface cn.dev33.satoken.context.model.SaRequestpublic String getCookieFirstValue(String name)
getCookieFirstValue in interface cn.dev33.satoken.context.model.SaRequestpublic String getCookieLastValue(String name)
getCookieLastValue in interface cn.dev33.satoken.context.model.SaRequestname - 键public String getRequestPath()
getRequestPath in interface cn.dev33.satoken.context.model.SaRequestpublic String getUrl()
getUrl in interface cn.dev33.satoken.context.model.SaRequestpublic String getMethod()
getMethod in interface cn.dev33.satoken.context.model.SaRequestCopyright © 2024. All rights reserved.