object Content-Disposition
- Companion:
- class
- Source:
- Content-Disposition.scala
Type members
Inherited types
The names of the product elements
The names of the product elements
- Inherited from:
- Mirror
- Source:
- Mirror.scala
Value members
Concrete methods
Implicits
Implicits
{
finalclass$anon()extendsRenderable{
valattrChar:CharPredicate=CharPredicate.AlphaNum.++(attrExtraSafeChars)
defrender(writer:Writer):writer.type={
valrenderExtFilename:Boolean=v.parameters.get(CIStringSyntax(_root_.scala.StringContext.apply("filename")).ci()).exists(((_$1:String)=>safeChars.matchesAll(_$1).unary_!))
valwithExtParams:Map[CIString,String]=if(renderExtFilename.&&(v.parameters.contains(CIStringSyntax(_root_.scala.StringContext.apply("filename*")).ci()).unary_!))v.parameters.+[String](ArrowAssoc[CIString](CIStringSyntax(_root_.scala.StringContext.apply("filename*")).ci()).->[String](v.parameters.apply(CIStringSyntax(_root_.scala.StringContext.apply("filename")).ci())))elsev.parameters
valwithExtParamsSorted:Map[CIString,String]=if(withExtParams.contains(CIStringSyntax(_root_.scala.StringContext.apply("filename")).ci()).&&(withExtParams.contains(CIStringSyntax(_root_.scala.StringContext.apply("filename*")).ci())))TreeMap.apply[CIString,String]()(ordered[CIString]($conforms[CIString])).++[String](withExtParams)elsewithExtParams
writer.append(v.dispositionType)
withExtParamsSorted.foreach[Writer](((x$1:Tuple2[CIString,String])=>x$1match{
caseTuple2(k,v)ifk.==(CIStringSyntax(_root_.scala.StringContext.apply("filename")).ci())=>
writer.<<(";").<<(k).<<('=').<<('\"')
writer.eligibleOnly(`v₂`,keep=safeChars,placeholder='?').<<('\"')
caseTuple2(k@CIStringSyntax(_root_.scala.StringContext.apply("","*")).ci(_),v)=>
writer.<<(";").<<(`k₂`).<<('=').<<("UTF-8\'\'").<<(Uri.encode(toEncode=`v₃`,Uri.encode$default$2,Uri.encode$default$3,toSkip=$anon.this.attrChar))
caseTuple2(k,v)=>
writer.<<(";").<<(`k₃`).<<("=\"").<<(`v₄`).<<('\"')
}))
writer
}
}
(new$anon():Object&Renderable)
}),((s:String)=>parse(s)))(renderableInst[Object&Renderable])" class="documentableAnchor">
implicit val {
finalclass$anon()extendsRenderable{
valattrChar:CharPredicate=CharPredicate.AlphaNum.++(attrExtraSafeChars)
defrender(writer:Writer):writer.type={
valrenderExtFilename:Boolean=v.parameters.get(CIStringSyntax(_root_.scala.StringContext.apply("filename")).ci()).exists(((_$1:String)=>safeChars.matchesAll(_$1).unary_!))
valwithExtParams:Map[CIString,String]=if(renderExtFilename.&&(v.parameters.contains(CIStringSyntax(_root_.scala.StringContext.apply("filename*")).ci()).unary_!))v.parameters.+[String](ArrowAssoc[CIString](CIStringSyntax(_root_.scala.StringContext.apply("filename*")).ci()).->[String](v.parameters.apply(CIStringSyntax(_root_.scala.StringContext.apply("filename")).ci())))elsev.parameters
valwithExtParamsSorted:Map[CIString,String]=if(withExtParams.contains(CIStringSyntax(_root_.scala.StringContext.apply("filename")).ci()).&&(withExtParams.contains(CIStringSyntax(_root_.scala.StringContext.apply("filename*")).ci())))TreeMap.apply[CIString,String]()(ordered[CIString]($conforms[CIString])).++[String](withExtParams)elsewithExtParams
writer.append(v.dispositionType)
withExtParamsSorted.foreach[Writer](((x$1:Tuple2[CIString,String])=>x$1match{
caseTuple2(k,v)ifk.==(CIStringSyntax(_root_.scala.StringContext.apply("filename")).ci())=>
writer.<<(";").<<(k).<<('=').<<('\"')
writer.eligibleOnly(`v₂`,keep=safeChars,placeholder='?').<<('\"')
caseTuple2(k@CIStringSyntax(_root_.scala.StringContext.apply("","*")).ci(_),v)=>
writer.<<(";").<<(`k₂`).<<('=').<<("UTF-8\'\'").<<(Uri.encode(toEncode=`v₃`,Uri.encode$default$2,Uri.encode$default$3,toSkip=$anon.this.attrChar))
caseTuple2(k,v)=>
writer.<<(";").<<(`k₃`).<<("=\"").<<(`v₄`).<<('\"')
}))
writer
}
}
(new$anon():Object&Renderable)
}),((s:String)=>parse(s)))(renderableInst[Object&Renderable])" class="documentableName ">headerInstance: Header[Content-Disposition, Single]
- Source:
- Content-Disposition.scala