
org.scalatra.ApplicationContext.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 java.net.URL
import scala.collection.mutable
trait ApplicationContext extends mutable.Map[String, AnyRef] {
def mount(handler: Handler, urlPattern: String, name: String): Unit
def mount(handler: Handler, urlPattern: String): Unit =
mount(handler, urlPattern, handler.getClass.getName)
def contextPath: String
def initParameters: mutable.Map[String, String]
def resource(path: String): Option[URL]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy