public class

RequestScope

extends AbstractRequestAttributesScope
java.lang.Object
   ↳ org.springframework.web.context.request.AbstractRequestAttributesScope
     ↳ org.springframework.web.context.request.RequestScope

Class Overview

Request-backed Scope implementation.

Relies on a thread-bound RequestAttributes instance, which can be exported through RequestContextListener, RequestContextFilter or DispatcherServlet.

This Scope will also work for Portlet environments, through an alternate RequestAttributes implementation (as exposed out-of-the-box by Spring's DispatcherPortlet.

Summary

Public Constructors
RequestScope()
Public Methods
String getConversationId()
There is no conversation id concept for a request, so this method returns null.
Protected Methods
int getScope()
Template method that determines the actual target scope.
[Expand]
Inherited Methods
From class org.springframework.web.context.request.AbstractRequestAttributesScope
From class java.lang.Object
From interface org.springframework.beans.factory.config.Scope

Public Constructors

public RequestScope ()

Public Methods

public String getConversationId ()

There is no conversation id concept for a request, so this method returns null.

Protected Methods

protected int getScope ()

Template method that determines the actual target scope.

Returns