public class StateManager extends Object
| Constructor and Description |
|---|
StateManager() |
| Modifier and Type | Method and Description |
|---|---|
String |
createStringViewState(IocContext<WebScope> ctx) |
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) |
public Map<String,String> createViewState(IocContext<WebScope> ctx)
ctx - The current web request context.public String createStringViewState(IocContext<WebScope> ctx)
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–2017 Bridje Framework. All rights reserved.