Class WebKt

  • All Implemented Interfaces:

    
    public final class WebKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static ContentType templateType(HttpContext $self, URL url)
      final static Map<String, ?> callContext(HttpContext $self)
      final static Locale obtainLocale(HttpContext $self) TODO Review order precedence and complete code (now only taking request attribute)
      • Request

      • Accept-language

      • Cookie

      • Server default locale

      final static HttpContext template(HttpContext $self, TemplatePort templateEngine, URL url, Map<String, ?> context, Locale locale)
      final static HttpContext template(HttpContext $self, URL url, Map<String, ?> context, Locale locale)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • templateType

         final static ContentType templateType(HttpContext $self, URL url)
      • callContext

         final static Map<String, ?> callContext(HttpContext $self)
      • obtainLocale

         final static Locale obtainLocale(HttpContext $self)

        TODO Review order precedence and complete code (now only taking request attribute)

        • Request

        • Accept-language

        • Cookie

        • Server default locale

      • template

         final static HttpContext template(HttpContext $self, TemplatePort templateEngine, URL url, Map<String, ?> context, Locale locale)
      • template

         final static HttpContext template(HttpContext $self, URL url, Map<String, ?> context, Locale locale)