Registry / web-framework / spray-routing-2-10

spray-routing-2-10

JSON →
library1.3.3javamavenunverified

A suite of lightweight Scala libraries for building and consuming RESTful web services on top of Akka.

<dependency> <groupId>io.spray</groupId> <artifactId>spray-routing_2.10</artifactId> <version>1.3.3</version> </dependency>
INSTALL
IMPORT
SIG · SPRAY-ROUTING-2-10
S
spray-routing-2-10
web-frameworkjavav1.3.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HttpService
spray.routing.HttpService

Defines a simple REST endpoint using Spray routing.

import spray.routing.HttpService import akka.actor.Actor class MyService extends Actor with HttpService { def actorRefFactory = context def receive = runRoute { path("hello") { get { complete("Hello, World!") } } } }
Debug
Known issues
breakingSpray is deprecated in favor of Akka HTTP; this version is for Scala 2.10 only.
fix
Migrate to Akka HTTP for newer Scala versions.
affects: <=1.3.3
Upgrade
Version history
1.3.3latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
spray-routing-2-10 — mvn dependency:get spray-routing-2-10 · libregistry