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

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

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

origin: spring-projects/spring-framework

@Test
public void noTemplateName() throws Exception {
  this.exception.expect(IllegalArgumentException.class);
  this.exception.expectMessage("Property 'url' is required");
  FreeMarkerView freeMarkerView = new FreeMarkerView();
  freeMarkerView.afterPropertiesSet();
}
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.freemarkerFreeMarkerViewafterPropertiesSet

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>
  • checkResourceExists
    Check that the FreeMarker template used for this view exists and is valid.Can be overridden to custo
  • <init>,
  • checkResourceExists,
  • getApplicationContext,
  • obtainApplicationContext,
  • obtainConfiguration,
  • render,
  • setApplicationContext,
  • setUrl

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • startActivity (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • JComboBox (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • CodeWhisperer alternatives
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