Class RequestContextUtil
-
- All Implemented Interfaces:
public class RequestContextUtilWrapper fo RequestContextHolder.
- Since:
2021-04-20
trydofor
-
-
Constructor Summary
Constructors Constructor Description RequestContextUtil()
-
Method Summary
Modifier and Type Method Description static ServletRequestAttributesgetRequestAttributes()static HttpServletRequestgetRequest()static HttpServletResponsegetResponse()static StringgetSessionId()static ObjectgetRequestAttribute(String name)static ObjectgetSessionAttribute(String name)-
-
Method Detail
-
getRequestAttributes
@Nullable() static ServletRequestAttributes getRequestAttributes()
-
getRequest
@Nullable() static HttpServletRequest getRequest()
-
getResponse
@Nullable() static HttpServletResponse getResponse()
-
getSessionId
@Nullable() static String getSessionId()
-
getRequestAttribute
@Nullable() static Object getRequestAttribute(String name)
-
getSessionAttribute
@Nullable() static Object getSessionAttribute(String name)
-
-
-
-