Brian Clozel
acd9016fc3
Create framework-docs module
...
This commit creates a new "framework-docs" module, which is dedicated to
documentation generation (reference and API docs).
This commit refactors the build configuration and moves the asciidoc
files to a separate location, but does not change the name nor the
nature of published artifacts.
Closes gh-29417
3 years ago
Johnny Lim
85d029f7c3
Polishing
...
Closes gh-29410
3 years ago
rstoyanchev
e71057dca9
Support i8n of ProblemDetail "title" field
...
Closes gh-29407
3 years ago
Sébastien Deleuze
1439c5bb8f
Document how to use WebJars without webjars-locator-core dependency
...
Closes gh-29322
3 years ago
rstoyanchev
cf2b1020f4
Update table of supported controller method return types
...
Closes gh-28814
3 years ago
rstoyanchev
04f0f1ddb0
Update table of supported controller method return types
...
See gh-27052
3 years ago
rstoyanchev
b6c2e8de23
Support context propagation for Spring MVC controllers
...
Closes gh-29056
3 years ago
rstoyanchev
6b0f29a065
Document i8n for RFC 7807 problem details
...
Expand the documentation for error responses and add details on
using a MessageSource to customize and internationalize error details.
See gh-28814
3 years ago
rstoyanchev
75dea98811
Revise docs on RFC 7807
...
See gh-28814
3 years ago
rstoyanchev
9eaae0fe04
Polishing contribution and Theme deprecation notices
...
Closes gh-28870
3 years ago
arvyy
4383a673bb
Add missing closing parenthesis
...
See gh-28867
3 years ago
rstoyanchev
cdd4e8cd7f
Improve regex support for URL path matching
...
Closes gh-28815
3 years ago
Marc Wrobel
165fba868c
Fix typos in reference docs
...
Closes gh-28805
3 years ago
rstoyanchev
ff9a4ab35c
Update documentation for RFC 7807 support
...
Closes gh-28438
3 years ago
rstoyanchev
eea793be98
Move sections on REST API exceptions 2 levels up
...
See gh-28438
3 years ago
rstoyanchev
b312eca391
Deprecate and set trailingSlash option to false
...
Closes gh-28552
4 years ago
rstoyanchev
92cf1e13e8
Enable use of parsed patterns by default in Spring MVC
...
Closes gh-28607
4 years ago
Sébastien Deleuze
f1c00dd8a6
Fix a typo in ResponseEntity documentation
...
Closes gh-28647
4 years ago
Stephane Nicoll
e18a118f8b
Polish contribution
...
See gh-28572
4 years ago
Lee, Kyutae
77aac7768d
Update reference docs to use PropertySourcesPlaceholderConfigurer
...
See gh-28572
4 years ago
Sam Brannen
a7cf19cec5
Improve documentation and matching algorithm in data binders
4 years ago
Sam Brannen
8cbb188455
Fix links to Spring Security in the reference guide
...
Closes gh-28135
4 years ago
Sam Brannen
0e670b1c15
Polish contribution
...
See gh-27984
4 years ago
wkwkhautbois
fadfcf4e43
Fix ServletUriComponentsBuilder examples in ref docs
...
Closes gh-27984
4 years ago
Sam Brannen
6647023151
Document how to register annotated classes in a GenericWebApplicationContext
...
Closes gh-27778
4 years ago
Rossen Stoyanchev
3600644ed1
Require type-level @Controller annotation
...
Closes gh-22154
4 years ago
Juergen Hoeller
b88ed7f4bb
Update API version and package references for Jakarta EE 9
...
Closes gh-27689
See gh-25354
4 years ago
xixingya
5593e1e406
Fix javax.servlet doc to jakarta.servlet ( #27692 )
4 years ago
Juergen Hoeller
2a268701c4
Introduce optimizeLocations flag for resource location filtering on startup
...
This flag is off by default since it requires jar files with directory entries.
Closes gh-27624
4 years ago
Rossen Stoyanchev
93f8706dd3
Update docs for ControllerAdvice
...
In 5.3 it became possible to handle exceptions from any handler through
ExceptionHandler's in a ControllerAdvice class, but this is not
mentioned in the docs
See gh-22619, gh-27338
4 years ago
Dmitriy Bogdanov
c46cc666d6
Fix some typos and mistakes in ref docs
...
Closes gh-27388
4 years ago
Sam Brannen
e0c0e7f878
Fix typo in ref docs
4 years ago
Rossen Stoyanchev
95d7f883ae
Deprecate LastModified
...
See gh-27075
4 years ago
Juergen Hoeller
1ff8da3635
StandardServletMultipartResolver provides strict Servlet compliance option
...
Closes gh-26826
4 years ago
Sviatoslav Hryb
f3f0bd22c5
Fix content negotiation description
4 years ago
Johnny Lim
a2e5d9a14f
Polishing
...
Closes gh-26960
5 years ago
Rossen Stoyanchev
29790d5bb1
Update docs on how a `@ModelAttribute` is sourced
...
Closes gh-26873
5 years ago
Stephane Nicoll
e4a5d2aaa5
Fix reference to assets on the default branch in ref doc
...
See gh-26863
5 years ago
Rossen Stoyanchev
b595dc1dfa
Add advice on Spring MVC path matching for 5.3+
...
Closes gh-26750
5 years ago
Rossen Stoyanchev
42a23098de
Update docs on Principal controller method arguments
...
Closes gh-26791
5 years ago
nara
2dc203ffdc
Polish web docs example
5 years ago
Stephane Nicoll
a3451f9908
Polish "Fix Commons FileUpload URL in reference guide"
...
See gh-26678
5 years ago
heqiang
5c38b89f4e
Fix Commons FileUpload URL in reference guide
...
See gh-26678
5 years ago
Rossen Stoyanchev
c3c36ab498
Document choices for async ResponseEntity return values
...
Closes gh-22614
5 years ago
Juergen Hoeller
be5eb7037f
Explicit notes on non-null enforcement and deep cause support in 5.3
...
Closes gh-26296
See gh-26317
5 years ago
Rossen Stoyanchev
c22a483c3d
Update section on type conversion for web method arguments
...
Closes gh-26088
5 years ago
Rossen Stoyanchev
86af93a504
Correct sample in webmvc.adoc
...
Closes gh-25965
5 years ago
Rossen Stoyanchev
a2ff139edd
Resolve UriComponentsBuilder argument with contextPath
...
Closes gh-25822
5 years ago
xuxiang
66138f0dce
Fix a few typos in the web reference docs
...
Closes gh-25893
Co-authored-by: zhiyi.xx <zhiyi.xx@antfin.com>
5 years ago
Brian Clozel
a0af552d0f
Add option for ignoring last-modified for static resources
...
Prior to this commit, the resource handler serving static resources for
Spring MVC and Spring WebFlux would always look at the
`Resource#lastModified` information, derive the `"Last-Modified"` HTTP
response header and support HTTP conditional requests with that
information.
In some cases, builds or packaging tools choose to set this last
modification date to a static date in the past. This allows tools to
have reproducible builds or to leverage caching given the static
resources content didn't change.
This can lead to problems where this static date (e.g. "1980-01-01") is
used literally in HTTP responses and will make the HTTP caching
mechanism counter-productive: the content of the resources changed, but
the application insists on saying it didn't change since the 80s...
This commit adds a new configuration option to disable this support -
there is no way to automatically discard those dates: there is no
standard for that and many don't use he "EPOCH 0 date" as it can lead to
compatibility issues with different OSes.
Closes gh-25845
5 years ago