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

  • Updating database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • Menu (java.awt)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • 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