com.atlassian.confluence.plugins.gadgets.requestcontext
Class RequestContextBuilder
java.lang.Object
  
com.atlassian.confluence.plugins.gadgets.requestcontext.RequestContextBuilder
public class RequestContextBuilder
- extends Object
 
Used to abstract the process of obtaining a gadget request context.
 
| 
Method Summary | 
 com.atlassian.gadgets.GadgetRequestContext | 
buildRequestContext(boolean ignoreCache)
 
          Builds a GadgetRequestContext corresponding to the current user and their locale,
 or the default locale for anonymous users. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RequestContextBuilder
public RequestContextBuilder(LocaleManager localeManager)
buildRequestContext
public com.atlassian.gadgets.GadgetRequestContext buildRequestContext(boolean ignoreCache)
- Builds a 
GadgetRequestContext corresponding to the current user and their locale,
 or the default locale for anonymous users.
- Parameters:
 ignoreCache - whether or not to ignore shindig's cache when retrieving the data
- Returns:
 - the gadget request context
 
 
 
Copyright © 2003-2013 Atlassian. All Rights Reserved.