Spring Data REST 3.2.6

Spring Data REST is part of the umbrella Spring Data project and makes it easy to build hypermedia-driven REST web services on top of Spring Data repositories.

Spring Data REST builds on top of Spring Data repositories, analyzes your application’s domain model and exposes hypermedia-driven HTTP resources for aggregates contained in the model.
Features

Exposes a discoverable REST API for your domain model using HAL as media type.

Exposes collection, item and association resources representing your model.

Supports pagination via navigational links.

Allows to dynamically filter collection resources.

Exposes dedicated search resources for query methods defined in your repositories.

Allows to hook into the handling of REST requests by handling Spring ApplicationEvents.

Exposes metadata about the model discovered as ALPS and JSON Schema.

Allows to define client specific representations through projections.

Ships a customized variant of the HAL Browser to leverage the exposed metadata.

Currently supports JPA, MongoDB, Neo4j, Solr, Cassandra, Gemfire.

Allows advanced customizations of the default resources exposed.

Spring Initializr
Quickstart Your Project
Bootstrap your application with Spring Initializr.

translate:
翻译:

Spring Data REST是伞形Spring数据项目的一部分,它使得在Spring数据存储库之上构建超媒体驱动的REST web服务变得非常容易。
Spring Data REST构建在Spring数据存储库之上,分析应用程序的域模型,并为模型中包含的聚合公开超媒体驱动的HTTP资源。
特征
使用HAL作为媒体类型为域模型公开可发现的REST API。
公开表示模型的集合、项和关联资源。
支持通过导航链接分页。
允许动态筛选集合资源。
公开存储库中定义的查询方法的专用搜索资源。
允许通过处理Spring ApplicationEvents来钩住对REST请求的处理。
公开有关作为ALPS和JSON模式发现的模型的元数据。
允许通过投影定义特定于客户端的表示。
发布一个定制的HAL浏览器变体以利用公开的元数据。
目前支持JPA、MongoDB、Neo4j、Solr、Cassandra、Gemfire。
允许对公开的默认资源进行高级自定义。
弹簧初始化器
快速启动项目
使用Spring初始化器引导应用程序。

发布了0 篇原创文章 · 获赞 152 · 访问量 7072

猜你喜欢

转载自blog.csdn.net/blog_programb/article/details/105242532