/*
Copyright (c) [2023] [squallzhao]
fountain is licensed under APACHE LICENSE, VERSION 2.0.
You can use this software according to the terms and conditions of the APACHE LICENSE, VERSION 2.0.
You may obtain a copy of APACHE LICENSE, VERSION 2.0 at: https://www.apache.org/licenses/LICENSE-2.0
*/
package microservice.web.codecs
public class UrlEncodedCodecs <: ICodecs{
public func fromBody(body: String): Object{
return Object()
}
public func toBody(object: Object): String{
return ""
}
public func getContentType(): String{
return "application/x-www-form-urlencoded"
//key1=val1&key2=val2
}
}