|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.velocity.context.ConfluenceContextUtils
public final class ConfluenceContextUtils
Tools for enhancing the capabilities of Velocity context according to system policy
Method Summary | |
---|---|
static void |
modifyRequestContext(org.apache.velocity.context.Context context,
javax.servlet.http.HttpServletRequest request)
Adds request based information to the given context. |
static void |
processContextForHtmlRendering(org.apache.velocity.context.Context context)
Process an event context that is to be used for rendering HTML. |
static void |
processContextForTemplate(org.apache.velocity.Template template,
org.apache.velocity.context.Context context)
Process the context appropriately for the template being rendered |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void processContextForTemplate(org.apache.velocity.Template template, org.apache.velocity.context.Context context)
template
- Template render targetcontext
- Context to processpublic static void processContextForHtmlRendering(org.apache.velocity.context.Context context)
context
- Context to processpublic static void modifyRequestContext(org.apache.velocity.context.Context context, javax.servlet.http.HttpServletRequest request)
User
associated with the request
context
- the contextrequest
- the request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |