NeatGuyCoding
57fa52262e
Fix @HttpServiceClient example in reference manual
...
Closes gh-35363
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-08-21 12:09:34 +02:00
rstoyanchev
d661550b48
Update docs for HttpServiceClient
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
Closes gh-35244
2025-07-31 05:22:49 +01:00
Juergen Hoeller
4ca8a8abbe
Merge branch '6.2.x'
...
# Conflicts:
# framework-docs/modules/ROOT/pages/core/null-safety.adoc
# framework-docs/modules/ROOT/pages/core/validation/error-code-resolution.adoc
# framework-docs/modules/ROOT/pages/integration/cds.adoc
# framework-docs/modules/ROOT/pages/integration/jms/sending.adoc
# framework-docs/modules/ROOT/pages/integration/rest-clients.adoc
# framework-docs/modules/ROOT/pages/languages/kotlin/bean-definition-dsl.adoc
# framework-docs/modules/ROOT/pages/languages/kotlin/null-safety.adoc
# framework-docs/modules/ROOT/pages/languages/kotlin/web.adoc
# framework-docs/modules/ROOT/pages/web/webflux/config.adoc
# framework-docs/modules/ROOT/pages/web/webflux/controller/ann-requestmapping.adoc
# framework-docs/modules/ROOT/pages/web/webmvc/mvc-http2.adoc
2025-07-10 19:42:14 +02:00
Juergen Hoeller
a0c083619f
Consistent line breaks in reference documentation
2025-07-10 19:33:34 +02:00
rstoyanchev
1982c7e020
Support 404 handling for HttpExchange interfaces
...
Closes gh-32105
2025-07-07 09:12:22 +01:00
rstoyanchev
9f7a321c44
Support streaming with HTTP interfaces + RestClient
...
Closes gh-32358
2025-06-05 17:07:01 +01:00
rstoyanchev
a16cdd2c41
Fix typo in reference docs
2025-06-02 12:38:19 +01:00
rstoyanchev
d1e279f060
Add reference docs for HTTP Service config
...
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run
Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions
Details
Deploy Docs / Dispatch docs deployment (push) Waiting to run
Details
Closes gh-34912
2025-06-02 10:40:09 +01:00
rstoyanchev
81626b0734
Polishing reference docs for HTTP Service clients
...
See gh-34912
2025-06-02 10:40:09 +01:00
rstoyanchev
e04de95ef2
Update API versioning ref docs for client side
...
Closes: gh-34569
2025-05-14 13:01:30 +01:00
rstoyanchev
5cb3ea228e
Polishing in RestClient reference docs
2025-05-14 13:01:30 +01:00
Sam Brannen
f27382cfb6
Consistently indent code with tabs in reference manual
2025-04-14 11:22:08 +02:00
Sébastien Deleuze
2576702cda
Use public interface for HTTP Interface documentation
...
Closes gh-34443
2025-02-18 11:57:04 +01:00
Brian Clozel
cfe2db0581
Improve reference docs on `RestClient.retrieve()`
...
As of Spring Framework 6.2, the `RestClient.retrieve()` method is a
no-op and developers must invoke a terminal operation on the returned
`ResponseSpec` to have any side effect.
This has been documented in the Javadoc and the wiki release notes, but
this commit highlights this as well in the reference documentation.
Closes gh-34334
2025-01-29 18:26:12 +01:00
Brian Clozel
46c13adfa8
Document custom HttpServiceArgumentResolver usage
...
This commit adds a reference documentation section explaining how
applications can use custom `HttpServiceArgumentResolver`
implementations to support complex application types as method
parameters in HTTP interfaces.
Closes gh-34227
2025-01-20 07:57:56 +01:00
rstoyanchev
5150a9a6ad
Polishing contribution
...
Closes gh-34230
2025-01-15 18:31:50 +00:00
Yanming Zhou
a8c5885aff
Fix wrong document about RequestHeaderArgumentResolver
...
Also test is added to verify that.
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
See gh-34230
2025-01-15 18:31:49 +00:00
Nicklas Wiegandt
a0af708c03
Add cookie support to RestClient
...
See gh-33697
2024-10-23 11:38:18 +01:00
Yanming Zhou
8941e2876e
Replace 'e.g.' with 'for example' in documentation and comments
...
Closes gh-33515
2024-09-26 14:11:17 +02:00
Sam Brannen
4fb70b671a
Remove obsolete role attributes for tab groups in the reference manual
...
Since we now use asciidoctor-tabs instead of spring-asciidoctor-backends,
we no longer need the `role="primary"` and `role="secondary"` attributes
for tab groups.
Closes gh-33506
2024-09-08 17:20:10 +02:00
rstoyanchev
cef1b7ea6d
Polishing in HTTP interface argument resolvers
2024-08-12 21:01:03 +03:00
Olga Maciaszek-Sharma
51de84e148
Reject null for non-optional arguments
...
Closes gh-33339
2024-08-12 21:01:03 +03:00
Simon Baslé
bf5e218b35
Add support for headers in `@HttpExchange`
...
On the client side, supports `name=value` pairs. Placeholders in values
are resolved by the `embeddedValueResolver`.
On the server side, additionally supports `name` and `!name` syntax.
Closes gh-33309
2024-08-09 18:02:16 +02:00
Sam Brannen
cd7c650941
Merge branch '6.1.x'
2024-08-08 17:16:19 +03:00
Robert Danczak
a31945f8b6
Fix syntax error in RestClient documentation
...
Closes gh-33350
2024-08-08 17:15:27 +03:00
Brian Clozel
4cbaaa3b1d
Move Servlet HTTP Message Conversion to its own section
...
Closes gh-33063
2024-06-19 15:45:16 +02:00
Arjen Poutsma
60b5bbe334
Introduce request attributes in RestClient
...
This commit introduces request attributes in the RestClient and
underlying infrastructure (i.e. HttpRequest).
Closes gh-32027
2024-06-11 15:51:29 +02:00
Sam Brannen
546ca9b834
Polishing
2024-04-24 15:32:57 +03:00
Stéphane Nicoll
40596d444c
Provide a more explicit link to URI composition examples
...
Closes gh-32685
2024-04-23 12:43:15 +02:00
Arjen Poutsma
3971632415
Reintroduce SimpleClientHttpRequestFactory limitations
...
Closes gh-32641
2024-04-16 11:43:09 +02:00
Sam Brannen
5830aac1d4
Omit parameter names in REST Clients section of reference docs
...
For consistency with other examples, this commit omits `method` parameter
names in the "Migrating from RestTemplate to RestClient" section of the
reference docs.
Closes gh-32335
2024-02-28 10:41:50 +01:00
Sam Brannen
0eb61c0f72
Polish REST Clients section
2024-02-28 10:34:57 +01:00
Cirus Thenter
2284254d39
Fix Kotlin syntax errors in RestClient builder example
...
Closes gh-32265
2024-02-14 13:52:33 +01:00
Stéphane Nicoll
728d5eeb74
Polish "Document @RequestAttribute"
...
See gh-32231
2024-02-12 10:38:29 +01:00
Olga MaciaszekSharma
89e34ae5ff
Document @RequestAttribute
...
See gh-32231
2024-02-12 10:35:20 +01:00
rstoyanchev
6dca7b28cc
Polishing contribution
...
Closes gh-31991
2024-01-10 12:17:20 +00:00
Olga MaciaszekSharma
864b1c95cd
Document exception handling for `RestClient` and `RestTemplate`-backed interface clients.
2024-01-10 12:17:20 +00:00
Stéphane Nicoll
b1c0b65666
Polish "Fix usage of WebClientAdapter in reference documentation"
...
See gh-31917
2023-12-28 13:52:57 +01:00
Gihwan Kim
490aaa1ed8
Fix usage of WebClientAdapter in reference documentation
...
See gh-31917
2023-12-28 13:51:12 +01:00
Simon Baslé
8567402969
Extract recurring asciidoc links to attributes, cleanup old doc files
...
This commit extract spring-related links and recurring external links
into asciidoctor attributes to be used by the Antora toolchain.
It notably homogenizes links to:
- IETF RFCs
- Java Community Process JSRs
- the Java API Documentation (on the Java 17 version)
- Kotlin documentations (on the Kotlinlang.org version)
- the Spring Boot reference guide (on the `html` version)
This commit also reworks most link attributes to follow a
Project-Category-Misc syntax. For example, `spring-boot-docs` rather
than `docs-spring-boot`.
Finally, it makes an effort to clean up remainders from the previous
documentation toolchain, namely the `docs/asciidoc` folder and
`modules/ROOT/pages/attributes.adoc` file.
Closes gh-26864
Closes gh-31619
2023-11-21 15:59:24 +01:00
rstoyanchev
b5b9386be6
Polishing
...
Closes gh-31413
2023-10-13 11:47:47 +01:00
Olga MaciaszekSharma
0cd196e3dd
Add UriBuilderFactoryArgumentResolver
...
See gh-31413
2023-10-13 11:47:47 +01:00
Arjen Poutsma
1766d7598c
Minor fixes in RestTemplate to RestClient migration guide
...
See gh-23269
2023-10-05 10:53:31 +02:00
Arjen Poutsma
2b47b8942d
Added RestTemplate to RestClient migration guide
...
Closes gh-23269
2023-10-04 14:22:23 +02:00
ghainesii
0a324ea9a7
Add missing period in RestClient documentation
...
See gh-31237
2023-09-15 08:57:47 +02:00
Arjen Poutsma
7b5effecf3
Reference documentation for `RestClient`
...
In addition to providing reference documentation for the `RestClient`,
this commit also shortens the `RestTemplate` section.
Closes gh-30826
2023-09-07 14:28:56 +02:00
rstoyanchev
5115684baf
Revise docs for server use of `@HttpExchange`
...
Closes gh-30980
2023-08-04 18:21:42 +03:00
rstoyanchev
c43d2e2edc
Polishing
...
Closes gh-30959
2023-07-31 14:52:58 +03:00
Olga MaciaszekSharma
0d4010841e
Update docs for HTTP interface clients return values
...
See gh-30959
2023-07-31 14:52:58 +03:00
Arjen Poutsma
52c77d89e9
Reverse order of RestClient and RestTemplate adapters in HTTP interface section
2023-07-24 09:46:05 +02:00