public class LoggingPageContext extends PageContext
attributes, REQUEST_COOKIES, REQUEST_HEADERS, REQUEST_PARAMETERS, REQUEST_PATH, REQUEST_URIQ, SESSION| Constructor and Description |
|---|
LoggingPageContext() |
| Modifier and Type | Method and Description |
|---|---|
PageContext |
withBoolean(String key,
Boolean trueOrFalse)
Add (or overwrite) a key,Boolean pair to the Map.
|
PageContext |
withInteger(String key,
Integer number)
Add (or overwrite) a key,Integer pair to the Map.
|
PageContext |
withObject(String key,
Object value)
Store a value accessed by a key
|
beginRender, clear, endRender, getBoolean, getContextMap, getFloat, getInteger, getLong, getObject, getString, renderForErrorOn, renderForInpectorOn, toMap, toString, withFloat, withLong, withStringpublic PageContext withObject(String key, Object value)
PageContextwithObject in interface ContextMapwithObject in class PageContextkey - , not nullpublic PageContext withInteger(String key, Integer number)
ContextMapwithInteger in interface ContextMapwithInteger in class PageContextpublic PageContext withBoolean(String key, Boolean trueOrFalse)
ContextMapwithBoolean in interface ContextMapwithBoolean in class PageContextCopyright © 2010–2018. All rights reserved.