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

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

Introduction

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

The text is from its open source code.

Implementation

org.springframework.web.context.request.RequestAttributes has the following implementations.
Click this link to see all its implementation.

Field

intSCOPE_REQUEST
Constant that indicates request scope.
intSCOPE_SESSION
Constant that indicates session scope.
StringREFERENCE_REQUEST
Name of the standard reference to the request object: "request".
StringREFERENCE_SESSION
Name of the standard reference to the session object: "session".

Method

ObjectgetAttribute(String name, int scope)
Return the value for the scoped attribute of the given name, if any.
StringgetSessionId()
Return an id for the current underlying session.
voidregisterDestructionCallback(String name, Runnable callback, int scope)
Register a callback to be executed on destruction of the specified attribute in the given scope.
voidremoveAttribute(String name, int scope)
Remove the scoped attribute of the given name, if it exists.
ObjectresolveReference(String key)
Resolve the contextual reference for the given key, if any.
voidsetAttribute(String name, Object value, int scope)
Set the value for the scoped attribute of the given name, replacing an existing value (if any).