congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
FreeMarkerConfigurer.createConfiguration
Code IndexAdd Tabnine to your IDE (free)

How to use
createConfiguration
method
in
org.springframework.web.reactive.result.view.freemarker.FreeMarkerConfigurer

Best Java code snippets using org.springframework.web.reactive.result.view.freemarker.FreeMarkerConfigurer.createConfiguration (Showing top 3 results out of 315)

origin: spring-projects/spring-framework

/**
 * Initialize FreeMarkerConfigurationFactory's Configuration
 * if not overridden by a pre-configured FreeMarker Configuration.
 * <p>Sets up a ClassTemplateLoader to use for loading Spring macros.
 * @see #createConfiguration
 * @see #setConfiguration
 */
@Override
public void afterPropertiesSet() throws IOException, TemplateException {
  if (this.configuration == null) {
    this.configuration = createConfiguration();
  }
}
origin: spring-projects/spring-framework

@Before
public void setup() throws Exception {
  this.context = new GenericApplicationContext();
  this.context.refresh();
  FreeMarkerConfigurer configurer = new FreeMarkerConfigurer();
  configurer.setPreferFileSystemAccess(false);
  configurer.setTemplateLoaderPath(TEMPLATE_PATH);
  configurer.setResourceLoader(this.context);
  this.freeMarkerConfig = configurer.createConfiguration();
}
origin: org.springframework/spring-web-reactive

/**
 * Initialize FreeMarkerConfigurationFactory's Configuration
 * if not overridden by a pre-configured FreeMarker Configuation.
 * <p>Sets up a ClassTemplateLoader to use for loading Spring macros.
 * @see #createConfiguration
 * @see #setConfiguration
 */
@Override
public void afterPropertiesSet() throws IOException, TemplateException {
  if (this.configuration == null) {
    this.configuration = createConfiguration();
  }
}
org.springframework.web.reactive.result.view.freemarkerFreeMarkerConfigurercreateConfiguration

Popular methods of FreeMarkerConfigurer

  • <init>
  • setResourceLoader
  • setTemplateLoaderPath
  • setPreferFileSystemAccess
  • setDefaultEncoding

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (Timer)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JComboBox (javax.swing)
  • JTable (javax.swing)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now