Support @RequestPart for @HttpExchange methods

Closes gh-29420
This commit is contained in:
rstoyanchev
2022-11-02 13:26:22 +00:00
parent 4b647a1801
commit 481389f761
6 changed files with 212 additions and 0 deletions

View File

@@ -453,6 +453,11 @@ method parameters:
parameters are encoded in the request body. Otherwise, they are added as URL query
parameters.
| `@RequestPart`
| Add a request part, which may be a String (form field), `Resource` (file part),
Object (entity to be encoded, e.g. as JSON), `HttpEntity` (part content and headers),
a Spring `Part`, or Reactive Streams `Publisher` of any of the above.
| `@CookieValue`
| Add a cookie or mutliple cookies. The argument may be a `Map<String, ?>` or
`MultiValueMap<String, ?>` with multiple cookies, a `Collection<?>` of values, or an