Spray(1)Read Documents about Spray

本文深入探讨了Spray框架的各项组件,包括Spray Can、Spray Routing、Spray IO等,详细介绍了如何使用这些组件构建RESTful web服务、处理HTTP请求与响应、以及进行单元测试。此外,还涉及了Spray Json、Spray TestKit等辅助模块,为Web开发提供了全面的技术支持。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Spray(1)Read Documents about Spray
Spray is a suite of libraries based on Scala and Akka.

Modules we are using in our project:
spray-can
HTTP server and client built on top of spray-IO.
http://spray.io/documentation/spray-can/#spray-can

spray-routing
routing DSL for defining RESTful web services.
http://spray.io/documentation/spray-routing/#spray-routing

spray-io
A basic version of Netty for Scala based on Akka actors and Java NIO.
http://spray.io/documentation/spray-io/#spray-io

spray-http
Model of HTTP requests, responses and common headers. It is completely stand-alone, it neither depends on Akka nor on any other part of spray.
http://spray.io/documentation/spray-http/#spray-http

spray-util
Utility module used by all other modules except spray-http.
http://spray.io/documentation/spray-util/#spray-util

spray-testkit
http://spray.io/documentation/spray-testkit/#spray-testkit

spray-json
https://github.com/spray/spray-json

Spray for Web Development
spray-can HttpServer
spray-routing
sbt-revolver
https://github.com/spray/sbt-revolver
SBT-plugin for hot reloading of changes to any type of sources(scala, twirl, CSS, LESS, JavaScript, CoffeeScript, images, etc.)

twirl
https://github.com/spray/twirl
SBT-plugin providing for view-templating based on the play 2.0 template engine.

ciffeescruoted-sbt
https://github.com/softprops/coffeescripted-sbt

sbt-js
https://github.com/untyped/sbt-plugins/tree/master/sbt-js

SLICK
Library for database query and access.
http://slick.typesafe.com/

spray-json

sbt-assembly
SBT-plugin for single-fat-JAR-deployment.
https://github.com/sbt/sbt-assembly

A client-side fronted framework
http://blog.stevensanderson.com/2012/08/01/rich-javascript-applications-the-seven-frameworks-throne-of-js-2012/


References:
http://spray.io/introduction/#what-is-spray
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值