Top Constructors Methods
com.sun.faces.context

public Class AlwaysPuttingSessionMap

extends SessionMap
Class Inheritance
Imports
jakarta.faces.application.ProjectStage, jakarta.servlet.http.HttpServletRequest, .HttpSession

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
put(String
key with which the specified value is to be associated
key
,
Object
value to be associated with the specified key
value
)

Overrides com.sun.faces.context.SessionMap.put.

Implements java.util.Map.put.

Associates the specified value with the specified key in this map (optional operation).

Inherited from com.sun.faces.context.SessionMap:
clearcontainsKeycreateMutexequalsgetgetEntryIteratorgetKeyIteratorgetMutexgetSessiongetValueIteratorhashCodeputAllremoveremoveMutex

Constructor Detail

AlwaysPuttingSessionMapback to summary
public AlwaysPuttingSessionMap(HttpServletRequest request, ProjectStage stage)

Method Detail

putback to summary
public Object put(String key, Object value)

Overrides com.sun.faces.context.SessionMap.put.

Implements java.util.Map.put.

Doc from java.util.AbstractMap.put.

Associates the specified value with the specified key in this map (optional operation). If the map previously contained a mapping for the key, the old value is replaced by the specified value. (A map m is said to contain a mapping for a key k if and only if m.containsKey(k) would return true.)

Parameters
key:String

Doc from java.util.Map.put.

key with which the specified value is to be associated

value:Object

Doc from java.util.Map.put.

value to be associated with the specified key

Returns:Object

Doc from java.util.Map.put.

the previous value associated with key, or null if there was no mapping for key. (A null return can also indicate that the map previously associated null with key, if the implementation supports null values.)

Annotations
@Override