Skip to content

Improve docs for getContentAsByteArray method of ContentCachingRequestWrapper #27068

Closed
@ziebamarcin

Description

@ziebamarcin

Affects: 5.3.7


Java Doc in org.springframework.web.util.ContentCachingRequestWrapper says that "wrapper that caches all content" wihtout any information that only request with POST method and content type application/x-www-form-urlencoded are cached (isFormPost method is responsible for that).

IMHO it is misleading that you have to see class internals to see for what requests content is cached.

Am I right or I am missing something? :)

PS. I can provide PR with docs update if you agree with me.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions