Package 

Class WebKt


  • 
    public final class WebKt
    
                        
    • Method Summary

      Modifier and Type Method Description
      final static Unit templateType(Call $self, String template)
      final static Map<String, ?> fullContext(Call $self)
      final static Locale obtainLocale(Call $self) TODO Review order precedence and complete code (now only taking request attribute)
      • Request

      • Session

      • Cookie

      • Accept-language

      • Server default locale

      final static Unit template(Call $self, TemplatePort templateEngine, String templateName, Map<String, ?> context, Locale locale)
      final static Unit template(Call $self, String templateName, Map<String, ?> context, Locale locale)
      final static Unit html(Call $self, Function1<HTML, Unit> block) Return HTML setting the proper content type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait