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

com.netaporter.uri.decoding.UriDecoder.scala Maven / Gradle / Ivy

The newest version!
package com.netaporter.uri.decoding

import com.netaporter.uri.Parameters
import Parameters._
import com.netaporter.uri.Parameters

/**
 * Date: 28/08/2013
 * Time: 21:01
 */
trait UriDecoder {
  def decode(u: String): String

  def decodeTuple(kv: Param) =
    decode(kv._1) -> kv._2.map(decode(_))
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy