Java org.springframework.web.context.request ServletRequestAttributes fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.context.request ServletRequestAttributes fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.context.request ServletRequestAttributes.

The text is from its open source code.

Constructor

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.

Method

ObjectgetAttribute(String name, int scope)
HttpServletRequestgetRequest()
Exposes the native HttpServletRequest that we're wrapping.
StringgetSessionId()
voidremoveAttribute(String name, int scope)
voidrequestCompleted()
Signal that the request has been completed.
voidsetAttribute(String name, Object value, int scope)