Serializable
public class WcsUserContext extends Object implements Serializable
If you want to persist data, save both context from getMap() and attributes from getLocalAttributes().
Constructor | Description |
---|---|
WcsUserContext(Map<String,Object> context) |
|
WcsUserContext(Map<String,Object> context,
Map<String,Object> attributes) |
Modifier and Type | Method | Description |
---|---|---|
Object |
get(String key) |
|
Boolean |
getAsBoolean(String key) |
|
Double |
getAsDouble(String key) |
|
Integer |
getAsInteger(String key) |
|
String |
getAsString(String key) |
|
Map<String,Object> |
getLocalAttributes() |
|
Map<String,Object> |
getMap() |
|
WcsUserContext |
put(String key,
Object value) |
|
WcsUserContext |
remove(String key) |
public WcsUserContext put(String key, Object value)
public WcsUserContext remove(String key)
Copyright © 2018. All rights reserved.