@ThreadScoped public class DefaultCookiesProvider implements Provider<List<CookieData>> {
@Override public <T> Provider<T> scope(final Key<T> key, final Provider<T> unscoped) { return () -> { Map<Key<?>, Object> threadScopedObjects = getThreadScoped(); if (!threadScopedObjects.containsKey(key)) { T newInstance = unscoped.get(); threadScopedObjects.put(key, newInstance); } return (T) threadScopedObjects.get(key); }; }
@ThreadScoped public class RequestFilterRegistry implements RequestFilter {
@Override public <T> Provider<T> scope(final Key<T> key, final Provider<T> unscoped) { return () -> { Map<Key<?>, Object> threadScopedObjects = getThreadScoped(); if (!threadScopedObjects.containsKey(key)) { T newInstance = unscoped.get(); threadScopedObjects.put(key, newInstance); } return (T) threadScopedObjects.get(key); }; }
@ThreadScoped public class JcrSessionProvider implements Provider<Session> {
@ThreadScoped public class DefaultCookiesProvider implements Provider<List<CookieData>> {
@ThreadScoped public class RequestFilterRegistry implements RequestFilter {
@ThreadScoped public class WebDriverModifiers {
@ThreadScoped public class WebDriverModifiers {
@ThreadScoped public class ContextStack { private final Deque<PageObjectContext> deque;
@ThreadScoped public class ContextStack { private final Deque<PageObjectContext> deque;
@ThreadScoped public class ReportingHandler implements Runnable {
@ThreadScoped public class TrafficLogAnalyzer {
@ThreadScoped public final class BrowserTabsHelper {
@ThreadScoped public class AemAuthCookieFactory {
@ThreadScoped public class AemAuthCookieFactoryImpl implements AemAuthCookieFactory {
@ThreadScoped public final class BrowserTabsHelper {
@ThreadScoped public class TrafficLogProvider implements ProxyEventListener {
@ThreadScoped public class AnalyticsWait {
@ThreadScoped public class WebDriverProvider implements Provider<WebDriver> {