org.scalatra.package.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalatra_2.8.2.RC1 Show documentation
Show all versions of scalatra_2.8.2.RC1 Show documentation
The core Scalatra framework
The newest version!
package org
import javax.servlet.http.HttpSession
import org.scalatra.util.MultiMap
package object scalatra {
/**
* Structural type for the various Servlet API objects that have attributes. These include ServletContext,
* HttpSession, and ServletRequest.
*/
type Attributes = {
def getAttribute(name: String): AnyRef
def getAttributeNames(): java.util.Enumeration[_]
def setAttribute(name: String, value: AnyRef): Unit
def removeAttribute(name: String): Unit
}
@deprecated("Use CsrfTokenSupport")
type CSRFTokenSupport = CsrfTokenSupport
type ErrorHandler = PartialFunction[Throwable, Any]
type ContentTypeInferrer = PartialFunction[Any, String]
type RenderPipeline = PartialFunction[Any, Any]
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy