@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface HttpSessionStateful
Annotated on the class of the parameters to the HttpTemplate
logic
class to indicate it should be a HttpSessionObjectManagedObjectSource
.
This simplifies means to specifying
HttpSessionObjectManagedObjectSource
instances by in-lining it with
the code.
It is also is used by the HttpTemplateSectionSource
to indicates that
the template logic object should be bound the HttpSession
to maintain
state across HttpRequest
instances.
Modifier and Type | Optional Element and Description |
---|---|
String |
value
Allows specifying the name to bind the object into the
HttpSession . |
public abstract String value
HttpSession
.HttpSession
. The blank
default value indicates for the ManagedObject
to assign
its own unique value.Copyright © 2005–2016. All rights reserved.