public.javadoc.org.spincast.plugins.timezoneresolver.SpincastTimeZonePebbleExtensionDefault.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SpincastTimeZonePebbleExtensionDefault (org.spincast:spincast-framework 1.13.0 API)
org.spincast.plugins.timezoneresolver
Class SpincastTimeZonePebbleExtensionDefault
- java.lang.Object
-
- com.mitchellbosecke.pebble.extension.AbstractExtension
-
- org.spincast.plugins.timezoneresolver.SpincastTimeZonePebbleExtensionDefault
-
- All Implemented Interfaces:
- com.mitchellbosecke.pebble.extension.Extension, SpincastTimeZonePebbleExtension
public class SpincastTimeZonePebbleExtensionDefault
extends com.mitchellbosecke.pebble.extension.AbstractExtension
implements SpincastTimeZonePebbleExtension
-
-
Field Summary
Fields
Modifier and Type
Field and Description
static String
FONCTION_NAME_TIMEZONE_COOKIE
-
Constructor Summary
Constructors
Constructor and Description
SpincastTimeZonePebbleExtensionDefault(TimeZoneResolver timeZoneResolver,
SpincastConfig spincastConfig,
SpincastUtils spincastUtils,
com.google.inject.Provider<RequestContext<?>> requestContextProvider,
SpincastTimeZoneResolverConfig spincastTimeZoneResolverConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Map<String,com.mitchellbosecke.pebble.extension.Function>
getFunctions()
protected com.google.inject.Provider<RequestContext<?>>
getRequestContextProvider()
protected SpincastConfig
getSpincastConfig()
protected SpincastTimeZoneResolverConfig
getSpincastTimeZoneResolverConfig()
protected SpincastUtils
getSpincastUtils()
protected com.mitchellbosecke.pebble.extension.Function
getTimeZoneCookieFunction()
protected TimeZoneResolver
getTimeZoneResolver()
-
Methods inherited from class com.mitchellbosecke.pebble.extension.AbstractExtension
getBinaryOperators, getFilters, getGlobalVariables, getNodeVisitors, getTests, getTokenParsers, getUnaryOperators
-
-
Field Detail
-
FONCTION_NAME_TIMEZONE_COOKIE
public static final String FONCTION_NAME_TIMEZONE_COOKIE
- See Also:
- Constant Field Values
-
Constructor Detail
-
SpincastTimeZonePebbleExtensionDefault
@Inject
public SpincastTimeZonePebbleExtensionDefault(TimeZoneResolver timeZoneResolver,
SpincastConfig spincastConfig,
SpincastUtils spincastUtils,
com.google.inject.Provider<RequestContext<?>> requestContextProvider,
SpincastTimeZoneResolverConfig spincastTimeZoneResolverConfig)
-
Method Detail
-
getTimeZoneResolver
protected TimeZoneResolver getTimeZoneResolver()
-
getSpincastConfig
protected SpincastConfig getSpincastConfig()
-
getSpincastTimeZoneResolverConfig
protected SpincastTimeZoneResolverConfig getSpincastTimeZoneResolverConfig()
-
getSpincastUtils
protected SpincastUtils getSpincastUtils()
-
getRequestContextProvider
protected com.google.inject.Provider<RequestContext<?>> getRequestContextProvider()
-
getFunctions
public Map<String,com.mitchellbosecke.pebble.extension.Function> getFunctions()
- Specified by:
getFunctions
in interface com.mitchellbosecke.pebble.extension.Extension
- Overrides:
getFunctions
in class com.mitchellbosecke.pebble.extension.AbstractExtension
-
getTimeZoneCookieFunction
protected com.mitchellbosecke.pebble.extension.Function getTimeZoneCookieFunction()
Copyright © 2019. All rights reserved.