ContentDisposition

zio.http.Header.ContentDisposition
See theContentDisposition companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
trait HeaderType
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

final case class Attachment(filename: Option[String]) extends ContentDisposition

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
final case class FormField(name: String, filename: Option[String]) extends ContentDisposition

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
final case class Inline(filename: Option[String]) extends ContentDisposition

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all

Types

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def attachment(filename: String): ContentDisposition
def formData(name: String): ContentDisposition
def formData(name: String, filename: String): ContentDisposition
def inline(filename: String): ContentDisposition
override def name: String

Attributes

Definition Classes
def parse(contentDisposition: String): Either[String, ContentDisposition]
def render(contentDisposition: ContentDisposition): String