Fan

 

abstract const class

webapp::WebAppStep

sys::Obj
  web::WebStep
    webapp::WebAppStep

WebAppStep is the base class for web application steps.

Slots

compileSource

Type compile(File f)

Compile a script file and return the first declared type. If the script cannot compile, then log and display an error.

logSource

static Log log := Log.("webapp")

Web app logging

resolveSource

Obj? resolve(Uri? uri)

Resolve a Uri to a resource object or return null. If the resource is a script file ending in ".fan", then is compiled and an instance of the primary type is returned.