Skip to content

Commit a7765c9

Browse files
committed
Fix links in reference documentation.
Primarily references to Spring Framework docs and one https update. Fixes #2218.
1 parent 0938b97 commit a7765c9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/main/asciidoc/configuring-cors.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
For security reasons, browsers prohibit AJAX calls to resources residing outside the current origin. When working with client-side HTTP requests issued by a browser, you want to enable specific HTTP resources to be accessible.
55

6-
Spring Data REST, as of 2.6, supports https://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-Origin Resource Sharing] (CORS) through https://docs.spring.io/spring-framework/docs/{springVersion}/reference/html/web.html#mvc-cors[Spring's CORS] support.
6+
Spring Data REST, as of 2.6, supports https://en.wikipedia.org/wiki/Cross-origin_resource_sharing[Cross-Origin Resource Sharing] (CORS) through link:{springDocsUrl}/web.html#mvc-cors[Spring's CORS] support.
77

88
[[customizing-sdr.configuring-cors.config]]
99
== Repository Interface CORS Configuration
@@ -35,7 +35,7 @@ The preceding example enables CORS support for the whole `PersonRepository` by p
3535
[[customizing-sdr.configuring-cors.controller-config]]
3636
== Repository REST Controller Method CORS Configuration
3737

38-
Spring Data REST fully supports https://docs.spring.io/spring-framework/docs/{springVersion}/reference/html/web.html#mvc-cors-controller[Spring Web MVC's controller method configuration] on custom REST controllers that share repository base paths, as the following example shows:
38+
Spring Data REST fully supports link:{springDocsUrl}/web.html#mvc-cors-controller[Spring Web MVC's controller method configuration] on custom REST controllers that share repository base paths, as the following example shows:
3939

4040
====
4141
[source, java]

src/main/asciidoc/configuring-the-rest-url-path.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ The preceding example results in the following link value:
107107
----
108108
====
109109

110-
NOTE: These snippets of JSON assume you use Spring Data REST's default format of http://stateless.co/hal_specification.html[HAL]. You can turn off HAL, which would cause the output to look different. However, your ability to override `rel` names is totally independent of the rendering format.
110+
NOTE: These snippets of JSON assume you use Spring Data REST's default format of https://stateless.co/hal_specification.html[HAL]. You can turn off HAL, which would cause the output to look different. However, your ability to override `rel` names is totally independent of the rendering format.
111111

112112
You can change the `rel` of a repository, as the following example shows:
113113

src/main/asciidoc/events.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ public class RepositoryConfiguration {
8585
----
8686
====
8787

88-
NOTE: Spring Data REST events are customized https://docs.spring.io/spring/docs/{springVersion}/spring-framework-reference/core.html#context-functionality-events[Spring application events]. By default, Spring events are synchronous, unless they get republished across a boundary (such as issuing a WebSocket event or crossing into a thread).
88+
NOTE: Spring Data REST events are customized link:{springDocsUrl}/core.html#context-functionality-events[Spring application events]. By default, Spring events are synchronous, unless they get republished across a boundary (such as issuing a WebSocket event or crossing into a thread).

src/main/asciidoc/intro.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[intro-chapter]]
22
= Introduction
33

4-
REST web services have become the number one means for application integration on the web. In its core, REST defines that a system that consists of resources with which clients interact. These resources are implemented in a hypermedia-driven way. https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/web.html#spring-web[Spring MVC] and https://docs.spring.io/spring-framework/docs/current/spring-framework-reference/web-reactive.html#spring-webflux[Spring WebFlux] each offer a solid foundation to build theses kinds of services. However, implementing even the simplest tenet of REST web services for a multi-domain object system can be quite tedious and result in a lot of boilerplate code.
4+
REST web services have become the number one means for application integration on the web. In its core, REST defines that a system that consists of resources with which clients interact. These resources are implemented in a hypermedia-driven way. link:{springDocsUrl}/web.html#spring-web[Spring MVC] and link:{springDocsUrl}/web-reactive.html#spring-webflux[Spring WebFlux] each offer a solid foundation to build theses kinds of services. However, implementing even the simplest tenet of REST web services for a multi-domain object system can be quite tedious and result in a lot of boilerplate code.
55

66
Spring Data REST builds on top of the Spring Data repositories and automatically exports those as REST resources. It leverages hypermedia to let clients automatically find functionality exposed by the repositories and integrate these resources into related hypermedia-based functionality.

0 commit comments

Comments
 (0)