org.scalatra.HttpMessage.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalatra_2.9.0-1 Show documentation
Show all versions of scalatra_2.9.0-1 Show documentation
The core Scalatra framework
The newest version!
package org.scalatra
import scala.collection.Map
trait HttpMessage {
/**
* A map of headers. Multiple header values are separated by a ','
* character. The keys of this map are case-insensitive.
*/
def headers: Map[String, String]
/**
* The content of the Content-Type header, or None if absent.
*/
def contentType: Option[String]
/**
* Returns the name of the character encoding of the body, or None if no
* character encoding is specified.
*/
def characterEncoding: Option[String]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy