public class

RequestContextBuilder

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.plugins.gadgets.requestcontext.RequestContextBuilder

Class Overview

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

Summary

Public Constructors
RequestContextBuilder(LocaleManager localeManager)
Public Methods
GadgetRequestContext buildRequestContext(boolean ignoreCache)
Builds a com.atlassian.gadgets.GadgetRequestContext corresponding to the current user and their locale, or the default locale for anonymous users.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RequestContextBuilder (LocaleManager localeManager)

Public Methods

public GadgetRequestContext buildRequestContext (boolean ignoreCache)

Builds a com.atlassian.gadgets.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