com.atlassian.confluence.plugins.gadgets.requestcontext
Class RequestContextBuilder

java.lang.Object
  extended by com.atlassian.confluence.plugins.gadgets.requestcontext.RequestContextBuilder

public class RequestContextBuilder
extends java.lang.Object

Used to abstract the process of obtaining a gadget request context.


Constructor Summary
RequestContextBuilder(LocaleManager localeManager)
           
 
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
 

Constructor Detail

RequestContextBuilder

public RequestContextBuilder(LocaleManager localeManager)
Method Detail

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-2014 Atlassian. All Rights Reserved.