public interface JdevelopsContext
| 限定符和类型 | 方法和说明 |
|---|---|
JdevelopsRequest |
getRequest()
获取当前请求的Request对象
|
JdevelopsResponse |
getResponse()
获取当前请求的Response对象
|
default boolean |
isValid()
此上下文是否有效
|
boolean |
matchPath(String pattern,
String path)
校验指定路由匹配符是否可以匹配成功指定路径
|
JdevelopsRequest getRequest()
JdevelopsResponse getResponse()
boolean matchPath(String pattern, String path)
default boolean isValid()
Copyright © 2024 tan. All rights reserved.