public class StateManager extends Object
| Constructor and Description |
|---|
StateManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
createStringViewState(IocContext<WebScope> ctx)
Gets the given web context state as an string.
|
Map<String,String> |
createViewState(IocContext<WebScope> ctx)
Creates a new map with the current state of the web request.
|
protected void |
injectState(IocContext<WebScope> ctx,
Class<Object> clazz,
Object inst,
WebScope req)
Injects the state of the HTTP request send to the server, into the given
component.
|
String |
toStateString(Map<String,String> map,
WebScope scope)
Create an String representation of the given web view state.
|
public Map<String,String> createViewState(IocContext<WebScope> ctx)
ctx - The current web request context.public String toStateString(Map<String,String> map, WebScope scope)
map - The state map.scope - The current web scope.public String createStringViewState(IocContext<WebScope> ctx)
ctx - The context to read the state from.protected void injectState(IocContext<WebScope> ctx, Class<Object> clazz, Object inst, WebScope req)
ctx - The IocContext for the web request.clazz - The component class.inst - The component instance.req - The web request scope.Copyright © 2015–2018 Bridje Framework. All rights reserved.