object Content-Disposition extends ModeledCompanion[Content-Disposition] with Serializable
Document https://tools.ietf.org/html/rfc6266 updates document https://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html . Between these two there is slight but important difference regarding how parameter values are formatted. In RFC6266 parameters values are without quotes and in RFC2616 they are quoted. Since common practice among http servers is to understand quoted values, we use older document as reference here. Extended (i.e. encoded) parameter values are not quoted, see ext-parameter - https://tools.ietf.org/html/rfc5987#section-3.2.1
Note: Akka HTTP uses "filename" key to store filename and handles encoding/decoding automatically. To output customized ASCII fallback version of filename provide "filename*" for unicode and "filename" for ASCII.
- Source
- headers.scala
- Alphabetic
- By Inheritance
- Content-Disposition
- Serializable
- ModeledCompanion
- Renderable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lowercaseName: String
- Definition Classes
- ModeledCompanion
- val name: String
- Definition Classes
- ModeledCompanion
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def parseFromValueString(value: String): Either[List[ErrorInfo], Content-Disposition]
Parses the given value into a header of this type.
Parses the given value into a header of this type. Returns
Right[T]
if parsing was successful andLeft(errors)
otherwise.- Definition Classes
- ModeledCompanion
- final def render[R <: Rendering](r: R): r.type
- Definition Classes
- ModeledCompanion → Renderable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])