Spring Data Rest Reference Documentation 官方文档 PDF下载

下载链接: 

Spring Data Rest 官方英文文档,Spring Data Rest Reference Documentation 2.4.0.RELEASE版本

rest.jpg

Table of Contents

Preface

1. Project metadata

Reference Documentation

2. Introduction

3. Getting started

3.1. Introduction

3.2. Adding Spring Data REST to a Spring Boot project 

3.3. Adding Spring Data REST to a Gradle project

3.4. Adding Spring Data REST to a Maven project

3.5. Configuring Spring Data REST

3.6. Basic settings for Spring Data REST

3.6.1. Changing the base URI

3.6.2. Changing other Spring Data REST properties 

3.7. Starting the application 4. Repository resources

4.1. Fundamentals

4.1.1. Default status codes 

4.1.2. Resource discoverability

4.2. The collection resource

4.2.1. Supported HTTP Methods

4.3. The item resource

4.3.1. Supported HTTP methods

4.4. The association resource 

4.4.1. Supported HTTP methods

4.5. The search resource

4.5.1. Supported HTTP methods

4.6. The query method resource 

4.6.1. Supported HTTP methods

5. Paging and Sorting 

5.1. Paging

5.1.1. Previous and Next Links 

5.2. Sorting

6. Domain Object Representations 

6.1. Object Mapping

6.1.1. Adding custom (de)serializers to Jackson’s ObjectMapper 

7. Projections and Excerpts

7.1. Projections

7.1.1. Finding existing projections 

7.1.2. Bringing in hidden data

7.2. Excerpts

7.3. Excerpting commonly accessed data 

8. Conditional Operations with Headers  

8.1. ETag, If-Match, and If-None-Match headers 

8.2. If-Modified-Since header

8.3. Architecting a more efficient frontend

9. Validation

9.1. Assigning Validators manually

10. Events

10.1. Writing an ApplicationListener 

10.2. Writing an annotated handler

11. Integration

11.1. Programmatic Links

12. Metadata

12.1. Application-Level Profile Semantics (ALPS)

12.1.1. Hypermedia control types

12.1.2. ALPS with Projections

12.1.3. Adding custom details to your ALPS descriptions

12.2. JSON Schema 13. Security

13.1. @Pre and @Post security

13.2. @Secured security

13.3. Enabling method level security

14. Tools

14.1. The HAL Browser

15. Customizing Spring Data REST 15.1. Configuring the REST URL path

15.1.1. Handling rels

15.1.2. Hiding certain repositories, query methods, or fields 

15.1.3. Hiding repository CRUD methods

15.2. Adding Spring Data REST to an existing Spring MVC Application 

15.2.1. More on required configuration  

15.3. Overriding Spring Data REST Response Handlers 

15.4. Customizing the JSON output

15.4.1. The ResourceProcessor interface 

15.4.2. Adding Links

15.4.3. Customizing the representation

15.5. Adding custom (de)serializers to Jackson’s ObjectMapper 

15.5.1. Abstract class registration

15.5.2. Adding custom serializers for domain types

Appendix

Appendix A: Using cURL to talk to Spring Data REST Appendix B: Spring Data REST example projects

Multi-store example

Projections

Spring Data REST + Spring Security Starbucks example


打赏 支付宝打赏 微信打赏

如果文章对您有帮助,欢迎移至上方打赏按钮...

随手一点
  • 打酱油

    2人

  • 18人

  • 呵呵

    1人

  • 草泥马

    0人

文章评论 抢沙发