Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Tiny Scala high-performance, async web framework, inspired by Sinatra
branch: 2.2.x_2.9

This branch is 1 commit ahead, 545 commits behind 2.4.x

Failed to load latest commit information.
atmosphere/src Fix atmosphere disconnect handling
auth/src Don't do Some(null)
commands/src Backport changes on 2.2.x_2.10 branch.
common/src/main Fix gzip output and scalate
core/src Update ApiFormats.scala
example/src/main Backport changes on 2.2.x_2.10 branch.
fileupload/src Add ls json files
jetty/src Fix Jetty uninitialized value error.
json/src Backport changes on 2.2.x_2.10 branch.
notes More release notes.
project Upgrade to Scalaz 7.0.4.
scalate/src Scalate template path should be normalized
scalatest/src/main Add ls json files
slf4j/src/main Fix scalate and async requests
specs2/src Backport changes on 2.2.x_2.10 branch.
swagger-ext/src Revert incompatible Swagger work from 2.2.x. Will be reinstated in 2.…
swagger/src Clean up some import warnings.
test/src fix mount/addServlet for paths not ending in /*
.gitignore Fix // in swagger resource at root path
CONTRIBUTING.markdown Minor cleanup of committing documentation
CREDITS.md Credits and notes.
LICENSE Rename project to Scalatra. Thanks to Hiram Chirino for the name.
README.markdown Fix snapshot version in readme
crosspaths.sbt fiddle a bit with the build, fix tostring on a binding
publishing.sbt fiddle a bit with the build, fix tostring on a binding
sbt No longer depend on swagger-core, support Options and default values …
version.sbt Bump to 2.2.3-SNAPSHOT.

README.markdown

Scalatra Build Status

Scalatra is a tiny, Sinatra-like web framework for Scala.

Example

import org.scalatra._

class ScalatraExample extends ScalatraServlet {
  get("/") {
    <h1>Hello, world!</h1>
  }
}

Documentation

Please see The Scalatra Book for more.

Latest version

The latest version of Scalatra is 2.2.1, and is published to Maven Central.

libraryDependencies += "org.scalatra" %% "scalatra" % "2.2.1"

Development version

The develop branch is published as 2.2.2-SNAPSHOT to OSSRH.

resolvers += "Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

libraryDependencies += "org.scalatra" %% "scalatra" % "2.2.2-SNAPSHOT"

Community

Something went wrong with that request. Please try again.