Example usage for Java org.springframework.web.context.request ServletRequestAttributes fields, constructors, methods, implement or subclass
The text is from its open source code.
ServletRequestAttributes(HttpServletRequest request) Create a new ServletRequestAttributes instance for the given request. | |
ServletRequestAttributes(HttpServletRequest request, @Nullable HttpServletResponse response) Create a new ServletRequestAttributes instance for the given request. |
Object | getAttribute(String name, int scope) |
HttpServletRequest | getRequest() Exposes the native HttpServletRequest that we're wrapping. |
String | getSessionId() |
void | removeAttribute(String name, int scope) |
void | requestCompleted() Signal that the request has been completed. |
void | setAttribute(String name, Object value, int scope) |