Class DateCallback

  • All Implemented Interfaces:
    kotlin.Function , kotlin.Function1

    
    public final class DateCallback
     implements Function1<HttpContext, HttpContext>
                        

    Callback that adds the date header to the response (caching its value).

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      DateCallback(String name)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      HttpContext invoke(HttpContext context)
      • Methods inherited from class java.lang.Object

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

      • DateCallback

        DateCallback(String name)
    • Method Detail

      • invoke

         HttpContext invoke(HttpContext context)