Skip to content

Commit 6d1f0f1

Browse files
Spring Operatorgregturn
Spring Operator
authored andcommitted
#910 - URL Cleanup.
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # HTTP URLs that Could Not Be Fixed These URLs were unable to be fixed. Please review them to see if they can be manually resolved. * [ ] http://alps.io (200) with 1 occurrences could not be migrated: ([https](https://alps.io) result AnnotatedConnectException). * [ ] http://alps.io/spec/ (200) with 6 occurrences could not be migrated: ([https](https://alps.io/spec/) result AnnotatedConnectException). * [ ] http://amundsen.com/media-types/collection/examples/ (200) with 7 occurrences could not be migrated: ([https](https://amundsen.com/media-types/collection/examples/) result AnnotatedConnectException). * [ ] http://amundsen.com/media-types/collection/format/ (200) with 1 occurrences could not be migrated: ([https](https://amundsen.com/media-types/collection/format/) result AnnotatedConnectException). * [ ] http://stateless.co/hal_specification.html (200) with 2 occurrences could not be migrated: ([https](https://stateless.co/hal_specification.html) result SSLHandshakeException). * [ ] http://www.opensearch.org/Specifications/OpenSearch/1.1 (200) with 1 occurrences could not be migrated: ([https](https://www.opensearch.org/Specifications/OpenSearch/1.1) result SSLHandshakeException). * [ ] http://foo.com/bar (301) with 6 occurrences could not be migrated: ([https](https://foo.com/bar) result SSLHandshakeException). * [ ] http://www.csse.monash.edu.au/~damian/papers/HTML/Plurals.html (302) with 1 occurrences could not be migrated: ([https](https://www.csse.monash.edu.au/~damian/papers/HTML/Plurals.html) result SSLHandshakeException). * [ ] http://alps.io/ext/range (404) with 2 occurrences could not be migrated: ([https](https://alps.io/ext/range) result AnnotatedConnectException). # Fixed URLs ## Fixed But Review Recommended These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * [ ] http://tools.ietf.org/html/draft-kelly-json-hal (301) with 2 occurrences migrated to: https://tools.ietf.org/html/draft-kelly-json-hal ([https](https://tools.ietf.org/html/draft-kelly-json-hal) result ReadTimeoutException). * [ ] http://examples.org/blogs/jdoe (UnknownHostException) with 5 occurrences migrated to: https://examples.org/blogs/jdoe ([https](https://examples.org/blogs/jdoe) result UnknownHostException). * [ ] http://examples.org/blogs/msmith (UnknownHostException) with 3 occurrences migrated to: https://examples.org/blogs/msmith ([https](https://examples.org/blogs/msmith) result UnknownHostException). * [ ] http://examples.org/blogs/rwilliams (UnknownHostException) with 3 occurrences migrated to: https://examples.org/blogs/rwilliams ([https](https://examples.org/blogs/rwilliams) result UnknownHostException). * [ ] http://examples.org/images/jdoe (UnknownHostException) with 5 occurrences migrated to: https://examples.org/images/jdoe ([https](https://examples.org/images/jdoe) result UnknownHostException). * [ ] http://examples.org/images/msmith (UnknownHostException) with 3 occurrences migrated to: https://examples.org/images/msmith ([https](https://examples.org/images/msmith) result UnknownHostException). * [ ] http://examples.org/images/rwilliams (UnknownHostException) with 3 occurrences migrated to: https://examples.org/images/rwilliams ([https](https://examples.org/images/rwilliams) result UnknownHostException). * [ ] http://acme.com/rels/foo-bar (404) with 2 occurrences migrated to: https://acme.com/rels/foo-bar ([https](https://acme.com/rels/foo-bar) result 404). * [ ] http://docs.spring.io/spring-hateoas/docs/current-SNAPSHOT/api/ (301) with 1 occurrences migrated to: https://docs.spring.io/spring-hateoas/docs/current-SNAPSHOT/api/ ([https](https://docs.spring.io/spring-hateoas/docs/current-SNAPSHOT/api/) result 404). * [ ] http://example.com/custom/deprecated (404) with 1 occurrences migrated to: https://example.com/custom/deprecated ([https](https://example.com/custom/deprecated) result 404). * [ ] http://example.com/customers/deprecated (404) with 2 occurrences migrated to: https://example.com/customers/deprecated ([https](https://example.com/customers/deprecated) result 404). * [ ] http://example.com/rels/ (404) with 2 occurrences migrated to: https://example.com/rels/ ([https](https://example.com/rels/) result 404). * [ ] http://example.com/rels/persons (404) with 1 occurrences migrated to: https://example.com/rels/persons ([https](https://example.com/rels/persons) result 404). * [ ] http://example.org/blogs/wchandry (404) with 2 occurrences migrated to: https://example.org/blogs/wchandry ([https](https://example.org/blogs/wchandry) result 404). * [ ] http://example.org/friends/ (404) with 13 occurrences migrated to: https://example.org/friends/ ([https](https://example.org/friends/) result 404). * [ ] http://example.org/friends/?queries (404) with 2 occurrences migrated to: https://example.org/friends/?queries ([https](https://example.org/friends/?queries) result 404). * [ ] http://example.org/friends/?template (404) with 2 occurrences migrated to: https://example.org/friends/?template ([https](https://example.org/friends/?template) result 404). * [ ] http://example.org/friends/jdoe (404) with 4 occurrences migrated to: https://example.org/friends/jdoe ([https](https://example.org/friends/jdoe) result 404). * [ ] http://example.org/friends/msmith (404) with 2 occurrences migrated to: https://example.org/friends/msmith ([https](https://example.org/friends/msmith) result 404). * [ ] http://example.org/friends/rss (404) with 5 occurrences migrated to: https://example.org/friends/rss ([https](https://example.org/friends/rss) result 404). * [ ] http://example.org/friends/rwilliams (404) with 2 occurrences migrated to: https://example.org/friends/rwilliams ([https](https://example.org/friends/rwilliams) result 404). * [ ] http://example.org/friends/search (404) with 2 occurrences migrated to: https://example.org/friends/search ([https](https://example.org/friends/search) result 404). * [ ] http://example.org/images/wchandry (404) with 2 occurrences migrated to: https://example.org/images/wchandry ([https](https://example.org/images/wchandry) result 404). * [ ] http://example.org/samples/full/doc.html (404) with 3 occurrences migrated to: https://example.org/samples/full/doc.html ([https](https://example.org/samples/full/doc.html) result 404). * [ ] http://pubsubhubbub.googlecode.com (404) with 1 occurrences migrated to: https://pubsubhubbub.googlecode.com ([https](https://pubsubhubbub.googlecode.com) result 404). * [ ] http://www.example.com/rels/ (404) with 1 occurrences migrated to: https://www.example.com/rels/ ([https](https://www.example.com/rels/) result 404). ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://docs.spring.io/spring-hateoas/docs/current/reference/html/ with 1 occurrences migrated to: https://docs.spring.io/spring-hateoas/docs/current/reference/html/ ([https](https://docs.spring.io/spring-hateoas/docs/current/reference/html/) result 200). * [ ] http://docs.spring.io/spring-hateoas/docs/current/reference/pdf/spring-hateoas-reference.pdf with 1 occurrences migrated to: https://docs.spring.io/spring-hateoas/docs/current/reference/pdf/spring-hateoas-reference.pdf ([https](https://docs.spring.io/spring-hateoas/docs/current/reference/pdf/spring-hateoas-reference.pdf) result 200). * [ ] http://en.wikipedia.org/wiki/HATEOAS with 2 occurrences migrated to: https://en.wikipedia.org/wiki/HATEOAS ([https](https://en.wikipedia.org/wiki/HATEOAS) result 200). * [ ] http://example.com?name=foo with 1 occurrences migrated to: https://example.com?name=foo ([https](https://example.com?name=foo) result 200). * [ ] http://mamund.site44.com/misc/hal-forms/ with 1 occurrences migrated to: https://mamund.site44.com/misc/hal-forms/ ([https](https://mamund.site44.com/misc/hal-forms/) result 200). * [ ] http://projects.spring.io/spring-hateoas/ with 2 occurrences migrated to: https://projects.spring.io/spring-hateoas/ ([https](https://projects.spring.io/spring-hateoas/) result 200). * [ ] http://tools.ietf.org/html/draft-kelly-json-hal-05 with 1 occurrences migrated to: https://tools.ietf.org/html/draft-kelly-json-hal-05 ([https](https://tools.ietf.org/html/draft-kelly-json-hal-05) result 200). * [ ] http://tools.ietf.org/html/rfc6570 with 1 occurrences migrated to: https://tools.ietf.org/html/rfc6570 ([https](https://tools.ietf.org/html/rfc6570) result 200). * [ ] http://tools.ietf.org/html/rfc7239 with 1 occurrences migrated to: https://tools.ietf.org/html/rfc7239 ([https](https://tools.ietf.org/html/rfc7239) result 200). * [ ] http://www.example.com with 2 occurrences migrated to: https://www.example.com ([https](https://www.example.com) result 200). * [ ] http://www.hixie.ch/specs/pingback/pingback with 1 occurrences migrated to: https://www.hixie.ch/specs/pingback/pingback ([https](https://www.hixie.ch/specs/pingback/pingback) result 200). * [ ] http://www.iana.org/assignments/link-relations/link-relations.xhtml with 2 occurrences migrated to: https://www.iana.org/assignments/link-relations/link-relations.xhtml ([https](https://www.iana.org/assignments/link-relations/link-relations.xhtml) result 200). * [ ] http://www.w3.org/TR/2011/WD-html5-20110113/links.html with 1 occurrences migrated to: https://www.w3.org/TR/2011/WD-html5-20110113/links.html ([https](https://www.w3.org/TR/2011/WD-html5-20110113/links.html) result 200). * [ ] http://www.w3.org/TR/html5/links.html with 11 occurrences migrated to: https://www.w3.org/TR/html5/links.html ([https](https://www.w3.org/TR/html5/links.html) result 200). * [ ] http://www.w3.org/TR/powder-dr/ with 1 occurrences migrated to: https://www.w3.org/TR/powder-dr/ ([https](https://www.w3.org/TR/powder-dr/) result 200). * [ ] http://www.w3.org/TR/preload/ with 1 occurrences migrated to: https://www.w3.org/TR/preload/ ([https](https://www.w3.org/TR/preload/) result 200). * [ ] http://www.w3.org/TR/resource-hints/ with 1 occurrences migrated to: https://www.w3.org/TR/resource-hints/ ([https](https://www.w3.org/TR/resource-hints/) result 200). * [ ] http://www.w3.org/TR/webmention/ with 1 occurrences migrated to: https://www.w3.org/TR/webmention/ ([https](https://www.w3.org/TR/webmention/) result 200). * [ ] http://amazon.com with 4 occurrences migrated to: https://amazon.com ([https](https://amazon.com) result 301). * [ ] http://contributor-covenant.org with 1 occurrences migrated to: https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301). * [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to: https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301). * [ ] http://www.w3.org/TR/1999/REC-html401-19991224 with 10 occurrences migrated to: https://www.w3.org/TR/1999/REC-html401-19991224 ([https](https://www.w3.org/TR/1999/REC-html401-19991224) result 301). * [ ] http://www.w3.org/TR/curie with 1 occurrences migrated to: https://www.w3.org/TR/curie ([https](https://www.w3.org/TR/curie) result 301). * [ ] http://tools.ietf.org/html/rfc5988=section-4 with 1 occurrences migrated to: https://tools.ietf.org/html/rfc5988=section-4 ([https](https://tools.ietf.org/html/rfc5988=section-4) result 302). * [ ] http://www.springsource.org/download with 1 occurrences migrated to: https://www.springsource.org/download ([https](https://www.springsource.org/download) result 302). # Ignored These URLs were intentionally ignored. * http://barfoo:8888 with 1 occurrences * http://foobar with 1 occurrences * http://foobar:8088 with 1 occurrences * http://foobarhost/ with 1 occurrences * http://foobarhost:9090/ with 1 occurrences * http://localhost with 7 occurrences * http://localhost/ with 1 occurrences * http://localhost/customers/15 with 1 occurrences * http://localhost/employees with 21 occurrences * http://localhost/employees/0 with 8 occurrences * http://localhost/employees/1 with 2 occurrences * http://localhost/employees/2 with 7 occurrences * http://localhost/sample/1/foo with 1 occurrences * http://localhost/sample/2/bar with 1 occurrences * http://localhost/something/bar/foo with 1 occurrences * http://localhost:8080/api/ with 1 occurrences * http://localhost:8080/foo with 2 occurrences * http://localhost:8080/my/custom/location with 2 occurrences * http://localhost:8080/rels with 1 occurrences * http://localhost:8080/rels/ with 6 occurrences * http://localhost:8080/something with 4 occurrences * http://localhost:8080/test?page=0&filter=foo,bar with 2 occurrences * http://localhost:8080/your-app with 1 occurrences * http://localhost:8080/your-app/people with 1 occurrences * http://myhost/people with 4 occurrences * http://myhost/person/1 with 1 occurrences * http://myhost/person/1/orders with 1 occurrences * http://proxy1:1443 with 1 occurrences * http://somethingDifferent with 1 occurrences * http://www.w3.org/2005/Atom with 2 occurrences
1 parent 4d9ebb4 commit 6d1f0f1

32 files changed

+126
-126
lines changed

CODE_OF_CONDUCT.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ Instances of abusive, harassing, or otherwise unacceptable behavior may be repor
2424
All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances.
2525
Maintainers are obligated to maintain confidentiality with regard to the reporter of an incident.
2626

27-
This Code of Conduct is adapted from the http://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at http://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/].
27+
This Code of Conduct is adapted from the https://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at https://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/].

readme.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
image:https://spring.io/badges/spring-hateoas/ga.svg[http://projects.spring.io/spring-hateoas/#quick-start]
2-
image:https://spring.io/badges/spring-hateoas/snapshot.svg[http://projects.spring.io/spring-hateoas/#quick-start]
1+
image:https://spring.io/badges/spring-hateoas/ga.svg[https://projects.spring.io/spring-hateoas/#quick-start]
2+
image:https://spring.io/badges/spring-hateoas/snapshot.svg[https://projects.spring.io/spring-hateoas/#quick-start]
33

44
= Spring HATEOAS
55

6-
This project provides some APIs to ease creating REST representations that follow the http://en.wikipedia.org/wiki/HATEOAS[HATEOAS] principle when working with Spring and especially Spring MVC. The core problem it tries to address is link creation and representation assembly.
6+
This project provides some APIs to ease creating REST representations that follow the https://en.wikipedia.org/wiki/HATEOAS[HATEOAS] principle when working with Spring and especially Spring MVC. The core problem it tries to address is link creation and representation assembly.
77

88
== Working with Spring HATEOAS
99

@@ -16,6 +16,6 @@ git config core.commentchar "/"
1616

1717
== Resources
1818

19-
* Reference documentation - http://docs.spring.io/spring-hateoas/docs/current/reference/html/[html], http://docs.spring.io/spring-hateoas/docs/current/reference/pdf/spring-hateoas-reference.pdf[pdf]
20-
* http://docs.spring.io/spring-hateoas/docs/current-SNAPSHOT/api/[JavaDoc]
19+
* Reference documentation - https://docs.spring.io/spring-hateoas/docs/current/reference/html/[html], https://docs.spring.io/spring-hateoas/docs/current/reference/pdf/spring-hateoas-reference.pdf[pdf]
20+
* https://docs.spring.io/spring-hateoas/docs/current-SNAPSHOT/api/[JavaDoc]
2121
* https://spring.io/guides/gs/rest-hateoas/[Getting started guide]

src/main/asciidoc/index.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Oliver Gierke, Greg Turnquist;
66
:toc-placement!:
77

88

9-
This project provides some APIs to ease creating REST representations that follow the http://en.wikipedia.org/wiki/HATEOAS[HATEOAS] principle when working with Spring and especially Spring MVC. The core problem it tries to address is link creation and representation assembly.
9+
This project provides some APIs to ease creating REST representations that follow the https://en.wikipedia.org/wiki/HATEOAS[HATEOAS] principle when working with Spring and especially Spring MVC. The core problem it tries to address is link creation and representation assembly.
1010

1111
(C) 2012-2015 The original authors.
1212

@@ -290,7 +290,7 @@ List<PersonResource> resources = assembler.toResources(people);
290290

291291
[[configuration.at-enable]]
292292
=== @EnableHypermediaSupport
293-
To enable the `ResourceSupport` subtypes be rendered according to the specification of various hypermedia representations types, the support for a particular hypermedia representation format can be activated through `@EnableHypermediaSupport`. The annotation takes a `HypermediaType` enumeration as argument. Currently we support http://tools.ietf.org/html/draft-kelly-json-hal[HAL] as well as a default rendering. Using the annotation triggers the following:
293+
To enable the `ResourceSupport` subtypes be rendered according to the specification of various hypermedia representations types, the support for a particular hypermedia representation format can be activated through `@EnableHypermediaSupport`. The annotation takes a `HypermediaType` enumeration as argument. Currently we support https://tools.ietf.org/html/draft-kelly-json-hal[HAL] as well as a default rendering. Using the annotation triggers the following:
294294

295295
* registers necessary Jackson modules to render `Resource`/`Resources` in the hypermedia specific format.
296296
* if JSONPath is on the classpath, it automatically registers a `LinkDiscoverer` instance to lookup links by their `rel` in plain JSON representations (see <<client.link-discoverer>>).
@@ -316,7 +316,7 @@ A `RelProvider` is exposed as Spring bean when using `@EnableHypermediaSupport`
316316
[[spis.curie-provider]]
317317
=== CurieProvider API
318318

319-
The http://tools.ietf.org/html/rfc5988=section-4[Web Linking RFC] describes registered and extension link relation types. Registered rels are well-known strings registered with the http://www.iana.org/assignments/link-relations/link-relations.xhtml[IANA registry of link relation types]. Extension rels can be used by applications that do not wish to register a relation type. They are a URI that uniquely identifies the relation type. The rel URI can be serialized as a compact URI or http://www.w3.org/TR/curie[Curie]. E.g. a curie `ex:persons` stands for the link relation type `http://example.com/rels/persons` if `ex` is defined as `http://example.com/rels/{rel}`. If curies are used, the base URI must be present in the response scope.
319+
The https://tools.ietf.org/html/rfc5988=section-4[Web Linking RFC] describes registered and extension link relation types. Registered rels are well-known strings registered with the https://www.iana.org/assignments/link-relations/link-relations.xhtml[IANA registry of link relation types]. Extension rels can be used by applications that do not wish to register a relation type. They are a URI that uniquely identifies the relation type. The rel URI can be serialized as a compact URI or https://www.w3.org/TR/curie[Curie]. E.g. a curie `ex:persons` stands for the link relation type `https://example.com/rels/persons` if `ex` is defined as `https://example.com/rels/{rel}`. If curies are used, the base URI must be present in the response scope.
320320

321321
The rels created by the default `RelProvider` are extension relation types and as such must be URIs, which can cause a lot of overhead. The `CurieProvider` API takes care of that: it allows to define a base URI as URI template and a prefix which stands for that base URI. If a `CurieProvider` is present, the `RelProvider` prepends all rels with the curie prefix. Furthermore a `curies` link is automatically added to the HAL resource.
322322

@@ -331,7 +331,7 @@ public class Config {
331331
332332
@Bean
333333
public CurieProvider curieProvider() {
334-
return new DefaultCurieProvider("ex", new UriTemplate("http://www.example.com/rels/{rel}"));
334+
return new DefaultCurieProvider("ex", new UriTemplate("https://www.example.com/rels/{rel}"));
335335
}
336336
}
337337
----
@@ -345,7 +345,7 @@ Note that now the prefix `ex:` automatically appears before all rels which are n
345345
"self" : { href: "http://myhost/person/1" },
346346
"curies" : {
347347
"name" : "ex",
348-
"href" : "http://example.com/rels/{rel}",
348+
"href" : "https://example.com/rels/{rel}",
349349
"templated" : true
350350
},
351351
"ex:orders" : { href : "http://myhost/person/1/orders" }

src/main/java/org/springframework/hateoas/IanaLinkRelation.java

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,28 @@ public enum IanaLinkRelation implements LinkRelation {
4242
/**
4343
* Refers to a substitute for this context
4444
*
45-
* @see http://www.w3.org/TR/html5/links.html#link-type-alternate
45+
* @see https://www.w3.org/TR/html5/links.html#link-type-alternate
4646
*/
4747
ALTERNATE("alternate"),
4848

4949
/**
5050
* Refers to an appendix.
5151
*
52-
* @see http://www.w3.org/TR/1999/REC-html401-19991224
52+
* @see https://www.w3.org/TR/1999/REC-html401-19991224
5353
*/
5454
APPENDIX("appendix"),
5555

5656
/**
5757
* Refers to a collection of records, documents, or other materials of historical interest.
5858
*
59-
* @see http://www.w3.org/TR/2011/WD-html5-20110113/links.html#rel-archives
59+
* @see https://www.w3.org/TR/2011/WD-html5-20110113/links.html#rel-archives
6060
*/
6161
ARCHIVES("archives"),
6262

6363
/**
6464
* Refers to the context's author.
6565
*
66-
* @see http://www.w3.org/TR/html5/links.html#link-type-author
66+
* @see https://www.w3.org/TR/html5/links.html#link-type-author
6767
*/
6868
AUTHOR("author"),
6969

@@ -77,7 +77,7 @@ public enum IanaLinkRelation implements LinkRelation {
7777
/**
7878
* Gives a permanent link to use for bookmarking purposes.
7979
*
80-
* @see http://www.w3.org/TR/html5/links.html#link-type-bookmark
80+
* @see https://www.w3.org/TR/html5/links.html#link-type-bookmark
8181
*/
8282
BOOKMARK("bookmark"),
8383

@@ -91,7 +91,7 @@ public enum IanaLinkRelation implements LinkRelation {
9191
/**
9292
* Refers to a chapter in a collection of resources.
9393
*
94-
* @see http://www.w3.org/TR/1999/REC-html401-19991224
94+
* @see https://www.w3.org/TR/1999/REC-html401-19991224
9595
*/
9696
CHAPTER("chapter"),
9797

@@ -111,7 +111,7 @@ public enum IanaLinkRelation implements LinkRelation {
111111

112112
/**
113113
* Refers to a table of contents.
114-
* @see http://www.w3.org/TR/1999/REC-html401-19991224
114+
* @see https://www.w3.org/TR/1999/REC-html401-19991224
115115
*/
116116
CONTENTS("contents"),
117117

@@ -127,7 +127,7 @@ public enum IanaLinkRelation implements LinkRelation {
127127
/**
128128
* Refers to a copyright statement that applies to the link's context.
129129
*
130-
* @see http://www.w3.org/TR/1999/REC-html401-19991224
130+
* @see https://www.w3.org/TR/1999/REC-html401-19991224
131131
*/
132132
COPYRIGHT("copyright"),
133133

@@ -148,7 +148,7 @@ public enum IanaLinkRelation implements LinkRelation {
148148
/**
149149
* Refers to a resource providing information about the link's context.
150150
*
151-
* @see http://www.w3.org/TR/powder-dr/#assoc-linking
151+
* @see https://www.w3.org/TR/powder-dr/#assoc-linking
152152
*/
153153
DESCRIBED_BY("describedBy"),
154154

@@ -223,14 +223,14 @@ public enum IanaLinkRelation implements LinkRelation {
223223
/**
224224
* Refers to a glossary of terms.
225225
*
226-
* @see http://www.w3.org/TR/1999/REC-html401-19991224
226+
* @see https://www.w3.org/TR/1999/REC-html401-19991224
227227
*/
228228
GLOSSARY("glossary"),
229229

230230
/**
231231
* Refers to context-sensitive help.
232232
*
233-
* @see http://www.w3.org/TR/html5/links.html#link-type-help
233+
* @see https://www.w3.org/TR/html5/links.html#link-type-help
234234
*/
235235
HELP("help"),
236236

@@ -244,21 +244,21 @@ public enum IanaLinkRelation implements LinkRelation {
244244
/**
245245
* Refers to a hub that enables registration for notification of updates to the context.
246246
*
247-
* @see http://pubsubhubbub.googlecode.com
247+
* @see https://pubsubhubbub.googlecode.com
248248
*/
249249
HUB("hub"),
250250

251251
/**
252252
* Refers to an icon representing the link's context.
253253
*
254-
* @see http://www.w3.org/TR/html5/links.html#link-type-icon
254+
* @see https://www.w3.org/TR/html5/links.html#link-type-icon
255255
*/
256256
ICON("icon"),
257257

258258
/**
259259
* Refers to an index.
260260
*
261-
* @see http://www.w3.org/TR/1999/REC-html401-19991224
261+
* @see https://www.w3.org/TR/1999/REC-html401-19991224
262262
*/
263263
INDEX("index"),
264264

@@ -453,7 +453,7 @@ public enum IanaLinkRelation implements LinkRelation {
453453
/**
454454
* Indicates that the link's context is a part of a series, and that the next in the series is the link target.
455455
*
456-
* @see http://www.w3.org/TR/html5/links.html#link-type-next
456+
* @see https://www.w3.org/TR/html5/links.html#link-type-next
457457
*/
458458
NEXT("next"),
459459

@@ -467,14 +467,14 @@ public enum IanaLinkRelation implements LinkRelation {
467467
/**
468468
* Indicates that the context’s original author or publisher does not endorse the link target.
469469
*
470-
* @see http://www.w3.org/TR/html5/links.html#link-type-nofollow
470+
* @see https://www.w3.org/TR/html5/links.html#link-type-nofollow
471471
*/
472472
NOFOLLOW("nofollow"),
473473

474474
/**
475475
* Indicates that no referrer information is to be leaked when following the link.
476476
*
477-
* @see http://www.w3.org/TR/html5/links.html#link-type-noreferrer
477+
* @see https://www.w3.org/TR/html5/links.html#link-type-noreferrer
478478
*/
479479
NOREFERRER("noreferrer"),
480480

@@ -495,7 +495,7 @@ public enum IanaLinkRelation implements LinkRelation {
495495
/**
496496
* Gives the address of the pingback resource for the link context.
497497
*
498-
* @see http://www.hixie.ch/specs/pingback/pingback
498+
* @see https://www.hixie.ch/specs/pingback/pingback
499499
*/
500500
PINGBACK("pingback"),
501501

@@ -520,15 +520,15 @@ public enum IanaLinkRelation implements LinkRelation {
520520
* from the link context, and that the user agent ought to fetch, such that the user agent can deliver a faster
521521
* response once the resource is requested in the future.
522522
*
523-
* @see http://www.w3.org/TR/resource-hints/
523+
* @see https://www.w3.org/TR/resource-hints/
524524
*/
525525
PREFETCH("prefetch"),
526526

527527
/**
528528
* Refers to a resource that should be loaded early in the processing of the link's context, without blocking
529529
* rendering.
530530
*
531-
* @see http://www.w3.org/TR/preload/
531+
* @see https://www.w3.org/TR/preload/
532532
*/
533533
PRELOAD("preload"),
534534

@@ -544,7 +544,7 @@ public enum IanaLinkRelation implements LinkRelation {
544544
/**
545545
* Indicates that the link's context is a part of a series, and that the previous in the series is the link target.
546546
*
547-
* @see http://www.w3.org/TR/html5/links.html#link-type-prev
547+
* @see https://www.w3.org/TR/html5/links.html#link-type-prev
548548
*/
549549
PREV("prev"),
550550

@@ -558,7 +558,7 @@ public enum IanaLinkRelation implements LinkRelation {
558558
/**
559559
* Refers to the previous resource in an ordered series of resources. Synonym for "prev".
560560
*
561-
* @see http://www.w3.org/TR/1999/REC-html401-19991224
561+
* @see https://www.w3.org/TR/1999/REC-html401-19991224
562562
*/
563563
PREVIOUS("previous"),
564564

@@ -617,7 +617,7 @@ public enum IanaLinkRelation implements LinkRelation {
617617
/**
618618
* Refers to a section in a collection of resources.
619619
*
620-
* @see http://www.w3.org/TR/1999/REC-html401-19991224
620+
* @see https://www.w3.org/TR/1999/REC-html401-19991224
621621
*/
622622
SECTION("section"),
623623

@@ -638,21 +638,21 @@ public enum IanaLinkRelation implements LinkRelation {
638638
/**
639639
* Refers to the first resource in a collection of resources.
640640
*
641-
* @see http://www.w3.org/TR/1999/REC-html401-19991224
641+
* @see https://www.w3.org/TR/1999/REC-html401-19991224
642642
*/
643643
START("start"),
644644

645645
/**
646646
* Refers to a stylesheet.
647647
*
648-
* @see http://www.w3.org/TR/html5/links.html#link-type-stylesheet
648+
* @see https://www.w3.org/TR/html5/links.html#link-type-stylesheet
649649
*/
650650
STYLESHEET("stylesheet"),
651651

652652
/**
653653
* Refers to a resource serving as a subsection in a collection of resources.
654654
*
655-
* @see http://www.w3.org/TR/1999/REC-html401-19991224
655+
* @see https://www.w3.org/TR/1999/REC-html401-19991224
656656
*/
657657
SUBSECTION("subsection"),
658658

@@ -666,7 +666,7 @@ public enum IanaLinkRelation implements LinkRelation {
666666
/**
667667
* Gives a tag (identified by the given address) that applies to the current document.
668668
*
669-
* @see http://www.w3.org/TR/html5/links.html#link-type-tag
669+
* @see https://www.w3.org/TR/html5/links.html#link-type-tag
670670
*/
671671
TAG("tag"),
672672

@@ -724,7 +724,7 @@ public enum IanaLinkRelation implements LinkRelation {
724724
* Identifies a target URI that supports the Webmention protcol. This allows clients that mention a resource in
725725
* some form of publishing process to contact that endpoint and inform it that this resource has been mentioned.
726726
*
727-
* @see http://www.w3.org/TR/webmention/
727+
* @see https://www.w3.org/TR/webmention/
728728
*/
729729
WEBMENTION("webmention"),
730730

src/main/java/org/springframework/hateoas/IanaRels.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
* Static class to find out whether a relation type is defined by the IANA.
2222
*
23-
* @see http://www.iana.org/assignments/link-relations/link-relations.xhtml
23+
* @see https://www.iana.org/assignments/link-relations/link-relations.xhtml
2424
* @author Oliver Gierke
2525
* @author Roland Kulcsár
2626
* @author Greg Turnquist

src/main/java/org/springframework/hateoas/QueryParameter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import lombok.RequiredArgsConstructor;
2020

2121
/**
22-
* Representation of a web request's query parameter (http://example.com?name=foo) => {"name", "foo", true}.
22+
* Representation of a web request's query parameter (https://example.com?name=foo) => {"name", "foo", true}.
2323
*
2424
* @author Greg Turnquist
2525
*/

src/main/java/org/springframework/hateoas/UriTemplate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
*
4040
* @author Oliver Gierke
4141
* @author JamesE Richardson
42-
* @see http://tools.ietf.org/html/rfc6570
42+
* @see https://tools.ietf.org/html/rfc6570
4343
* @since 0.9
4444
*/
4545
public class UriTemplate implements Iterable<TemplateVariable>, Serializable {

src/main/java/org/springframework/hateoas/config/EnableHypermediaSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ enum HypermediaType {
7070
* HAL - Hypermedia Application Language.
7171
*
7272
* @see http://stateless.co/hal_specification.html
73-
* @see http://tools.ietf.org/html/draft-kelly-json-hal-05
73+
* @see https://tools.ietf.org/html/draft-kelly-json-hal-05
7474
*/
7575
HAL,
7676

src/main/java/org/springframework/hateoas/core/EvoInflectorRelProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* {@link RelProvider} implementation using the Evo Inflector implementation of an algorithmic approach to English
2323
* plurals.
2424
*
25-
* @see http://www.csse.monash.edu.au/~damian/papers/HTML/Plurals.html
25+
* @see http://users.monash.edu/~damian/papers/HTML/Plurals.html
2626
* @author Oliver Gierke
2727
*/
2828
public class EvoInflectorRelProvider extends DefaultRelProvider {

src/main/java/org/springframework/hateoas/hal/CurieProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* API to provide HAL curie information for links.
2525
*
26-
* @see http://tools.ietf.org/html/draft-kelly-json-hal#section-8.2
26+
* @see https://tools.ietf.org/html/draft-kelly-json-hal#section-8.2
2727
* @author Oliver Gierke
2828
* @author Jeff Stano
2929
* @since 0.9

src/main/java/org/springframework/hateoas/hal/forms/HalFormsProperty.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* Describe a parameter for the associated state transition in a HAL-FORMS document. A {@link HalFormsTemplate} may
3030
* contain a list of {@link HalFormsProperty}s
3131
*
32-
* @see http://mamund.site44.com/misc/hal-forms/
32+
* @see https://mamund.site44.com/misc/hal-forms/
3333
*/
3434
@JsonInclude(Include.NON_DEFAULT)
3535
@Value

src/main/java/org/springframework/hateoas/mvc/ForwardedHeader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* Value object to partially implement the {@literal Forwarded} header defined in RFC 7239.
3333
*
3434
* @author Oliver Gierke
35-
* @see http://tools.ietf.org/html/rfc7239
35+
* @see https://tools.ietf.org/html/rfc7239
3636
* @deprecated In Spring 5.1, all Forwarded headers will by handled by Spring MVC.
3737
*/
3838
@Deprecated

src/main/resources/license.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ similar licenses that require the source code and/or modifications to
207207
source code to be made available (as would be noted above), you may obtain a
208208
copy of the source code corresponding to the binaries for such open source
209209
components and modifications thereto, if any, (the "Source Files"), by
210-
downloading the Source Files from http://www.springsource.org/download,
210+
downloading the Source Files from https://www.springsource.org/download,
211211
or by sending a request, with your name and address to: VMware, Inc., 3401 Hillview
212212
Avenue, Palo Alto, CA 94304, United States of America or email [email protected]. All
213213
such requests should clearly specify: OPEN SOURCE FILES REQUEST, Attention General

0 commit comments

Comments
 (0)