org.scalatra.package.scala Maven / Gradle / Ivy
package org
import javax.servlet.http.HttpSession
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
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy