Tabnine Logo
FreeMarkerView.setApplicationContext
Code IndexAdd Tabnine to your IDE (free)

How to use
setApplicationContext
method
in
org.springframework.web.reactive.result.view.freemarker.FreeMarkerView

Best Java code snippets using org.springframework.web.reactive.result.view.freemarker.FreeMarkerView.setApplicationContext (Showing top 1 results out of 315)

origin: spring-projects/spring-framework

@Test
public void noFreeMarkerConfig() throws Exception {
  this.exception.expect(ApplicationContextException.class);
  this.exception.expectMessage("Must define a single FreeMarkerConfig bean");
  FreeMarkerView view = new FreeMarkerView();
  view.setApplicationContext(this.context);
  view.setUrl("anythingButNull");
  view.afterPropertiesSet();
}
org.springframework.web.reactive.result.view.freemarkerFreeMarkerViewsetApplicationContext

Popular methods of FreeMarkerView

  • setConfiguration
    Set the FreeMarker Configuration to be used by this view.Typically this property is not set directly
  • autodetectConfiguration
    Autodetect a FreeMarkerConfig object via the ApplicationContext.
  • getCharset
  • getConfiguration
    Return the FreeMarker configuration used by this view.
  • getDefaultCharset
  • getEncoding
    Return the encoding for the FreeMarker template.
  • getObjectWrapper
    Return the configured FreeMarker ObjectWrapper, or the ObjectWrapper#DEFAULT_WRAPPER if none specifi
  • getTemplate
    Retrieve the FreeMarker template for the given locale, to be rendering by this view.By default, the
  • getTemplateModel
    Build a FreeMarker template model for the given model Map.The default implementation builds a Simple
  • getUrl
  • <init>
  • afterPropertiesSet
  • <init>,
  • afterPropertiesSet,
  • checkResourceExists,
  • getApplicationContext,
  • obtainApplicationContext,
  • obtainConfiguration,
  • render,
  • setUrl

Popular in Java

  • Start an intent from android
  • compareTo (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • runOnUiThread (Activity)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • JLabel (javax.swing)
  • JPanel (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Best IntelliJ 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