Gjsify LogoGjsify Logo

Hierarchy

  • ContentType

Index

Constructors

Properties

params: object
refcount: number
subtype: string
type: string
name: string

Methods

  • dump(): void
  • format(): string
  • is(type: string, subtype: string): boolean
  • The subtype of "*" will match any subtype. If ct is %NULL, then it will match the type "text/plain".

    Parameters

    • type: string

      A type to check against.

    • subtype: string

      A subtype to check against, or "*" to match any subtype.

    Returns boolean

  • param(name: string): string
  • Searches the params on s #CamelContentType for a param named name and gets the value.

    Parameters

    • name: string

      name of param to find

    Returns string

  • setParam(name: string, value: string): void
  • Set a parameter on content_type.

    Parameters

    • name: string

      name of param to set

    • value: string

      value of param to set

    Returns void

  • simple(): string
  • unref(): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method