This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package com.example | |
| import akka.actor.ActorSystem | |
| import akka.http.Http | |
| import akka.http.marshalling.ToResponseMarshallable.apply | |
| import akka.http.server.Directive.addByNameNullaryApply | |
| import akka.http.server.Directive.addDirectiveApply | |
| import akka.http.server.Directives.IntNumber | |
| import akka.http.server.Directives.complete | |
| import akka.http.server.Directives.get | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package akka.http.scaladsl | |
| import java.io.File | |
| import akka.http.scaladsl.unmarshalling.Unmarshal | |
| import akka.util.ByteString | |
| import scala.concurrent.duration._ | |
| import akka.actor.ActorSystem | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package utils | |
| import scala.concurrent.duration.FiniteDuration | |
| import scala.concurrent.duration._ | |
| import play.api.Application | |
| import collection.JavaConversions._ | |
| object ConfigString { | |
| implicit class ConfigStr(s: String) { | |
| def configOrElse(default: FiniteDuration)(implicit app: Application): FiniteDuration = | 
NewerOlder