-
Notifications
You must be signed in to change notification settings - Fork 0
Requirements
spray-server 0.9.0 depends on:
spray-client 0.9.0 depends on:
- Scala 2.9.1
- Akka 1.2 or 1.3.x
- parboiled 1.0.2
- mimepull 1.6
- spray-can 0.9.3
If you'd like to use one of the following features you need to supply the respective dependencies as well:
-
SprayJsonSupport: spray-json -
LiftJsonSupport: lift-json -
TwirlSupport: twirl-api (provided by sbt-twirl) -
ScalateSupport: [scalate-core]
For maximum compatibility with your specific environment spray does not come with a hard dependency on any particular
Akka version. Rather the dependency on Akka is marked as provided, which means that you can (and must) pull it in
yourself.
spray-server and spray-client only use the akka-actor module and do not depend on akka-http or any other akka module.
You can run your spray-server application in any of the following web servers / containers:
- Any Servlet 3.0 compatible servlet container (Jetty 8, Tomcat 7, GlassFish 3, etc.)
- Jetty 7
- Tomcat 6
- spray-can
In principle spray-server can work with any web server supporting asynchronous request handling, i.e. it's not bound to servlet containers (spray-can for example is not a servlet container). All that is required to support another server is a very thin glue layer. If you'd like to run spray with a server that is not listed above please ask for support on the mailing list.
- Home
- Requirements
- spray-server
- ... Getting Started
- ... Key Concepts
- ...... Request Lifecycle
- ...... Routes
- ...... Directives
- ...... Composing Directives
- ...... Rejections
- ...... Marshalling and Unmarshalling
- ... Predefined Directives
- ...... Method Filters
- ...... Path Filters
- ...... Parameter Filters
- ...... Form-Field Filters
- ...... Marshalling/Unmarshalling
- ...... Caching
- ...... Detach
- ...... Encoding/Decoding
- ...... Authentication/Authorization
- ...... File and Resource Directives
- ...... Misc Directives
- ... Advanced Topics
- ...... Case Class Extraction
- ...... Custom Directives
- ...... Custom Media Types
- ...... Custom Error Responses
- ... Configuration
- ... Testing
- ... Example Projects
- spray-client
- Patch Policy
- Credits
- Sponsors