All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mle.play.http.PlayUtils.scala Maven / Gradle / Ivy

package com.mle.play.http

import play.api.mvc.RequestHeader
import com.mle.util.FileUtilities

/**
 *
 * @author mle
 */
trait PlayUtils {
  def headersString(request: RequestHeader) =
    request.headers.toSimpleMap
      .map(kv => kv._1 + "=" + kv._2)
      .mkString(FileUtilities.lineSep, FileUtilities.lineSep, "")
}

object PlayUtils extends PlayUtils




© 2015 - 2025 Weber Informatics LLC | Privacy Policy