Juergen Hoeller
eca2b9657e
Documentation notes for @Bean overriding and bean name matching
...
Closes gh-32825
2 years ago
hlmg
c6c64e6fe7
Fix typo
...
See gh-32993
2 years ago
Sébastien Deleuze
43a113f067
Polishing
...
See gh-32983
2 years ago
Sébastien Deleuze
dc250e1cc1
Remove outdated copyright from index.adoc
...
Closes gh-32983
2 years ago
ypyf
e12d1259d1
Use HttpStatusCode consistently in reference guide
...
See gh-32966
2 years ago
Tony Wen
301087e510
Fix entity name in MappingSqlQuery example of reference guide
...
See gh-32957
2 years ago
Stéphane Nicoll
7102c33661
Add section about using complex data structures with AOT
...
Closes gh-32273
2 years ago
Sébastien Deleuze
31806f3a6b
Fix MethodValidationPostProcessor refdoc
...
Closes gh-32929
2 years ago
Cong-Xin Cynthia Qiu
542ba3517f
Fix typo in Jakarta validation documentation
...
Closes gh-32928
2 years ago
Attacktive
73eb6f0660
Complete a Kotlin code snippet in the refdoc
...
Closes gh-32877
2 years ago
Stéphane Nicoll
c01aab5850
Polish
...
See gh-32874
2 years ago
Seungrae
61ef5a8930
Document using ThreadLocal#remove instead of ThreadLocal#set(null)
...
See gh-32874
2 years ago
rstoyanchev
89dd247b97
Improve docs on controller method validation
...
Closes gh-32807
2 years ago
Sébastien Deleuze
2a2ef443a5
Refine CDS documentation
...
Closes gh-32843
2 years ago
Juergen Hoeller
e509385eae
Add InputStreamResource(InputStreamSource) constructor for lambda expressions
...
Includes notes for reliable InputStream closing, in particular with Spring MVC.
Closes gh-32802
2 years ago
Brian Clozel
09b8feadc2
Document streaming/collecting behavior for Flux return values
...
Closes gh-32630
2 years ago
rstoyanchev
d03ea0bf19
Update docs on HandlerInterceptor
...
Closes gh-32729
2 years ago
rstoyanchev
1b60b86bb2
Update MockMvc section on Streaming in the docs
...
Closes gh-32687
2 years ago
Brian Clozel
89ce63f1f3
Replace RFC7807 by RFC9457 in documentation
...
This commit updates all references to RFC7807 by RFC9457 since the
former is now obsolete.
Closes gh-32806
2 years ago
Juergen Hoeller
22b6d66a28
Document @Order behavior on @Configuration classes versus @Bean methods
...
Includes brief note on self injection (extracted from qualifiers section).
Closes gh-30177
Closes gh-28299
2 years ago
Juergen Hoeller
9376e6322d
Revise IoC container introduction for modern configuration styles
...
Includes @Configuration(proxyBeanMethods=false) documentation.
Closes gh-32429
2 years ago
Juergen Hoeller
0eb937a866
Document limitations of CGLIB proxy class generation in JPMS module setups
...
Includes extended exception messages with common hints and explanations.
Closes gh-32671
2 years ago
Sébastien Deleuze
f17527a48b
Use expectBody<Person>() in WebTestClient documentation
...
Closes gh-32733
2 years ago
Seungrae Kim
32c80d5ae6
Fix incorrect class reference syntax in Kotlin code sample
...
Closes gh-32733
2 years ago
Juergen Hoeller
7263771552
Add documentation for CompletableFuture-driven rollback
...
Closes gh-32709
2 years ago
Juergen Hoeller
fab3633c75
Add notes on constructor and factory method overloading
...
Closes gh-32091
2 years ago
Sam Brannen
546ca9b834
Polishing
2 years ago
Johnny Lim
cc73ccefef
Polish
...
See gh-32696
2 years ago
Stéphane Nicoll
40596d444c
Provide a more explicit link to URI composition examples
...
Closes gh-32685
2 years ago
Stéphane Nicoll
cb5b9dcaed
Document AOT limitation of creating beans with custom arguments
...
Closes gh-32690
2 years ago
Arjen Poutsma
3971632415
Reintroduce SimpleClientHttpRequestFactory limitations
...
Closes gh-32641
2 years ago
Stéphane Nicoll
a942a6e172
Document behavior of profiles enabled for AOT optimizations
...
Closes gh-32543
2 years ago
kexin.an
640b97f33c
Polish reference guide
...
See gh-32557
2 years ago
Minsung Oh
0b3a05b463
Fix link to vavr in the reference guide
...
See gh-32494
2 years ago
Sam Brannen
09f210f5f7
Polish wording in reference manual
2 years ago
Sébastien Deleuze
71a117c0fd
Document AOT limitations related to Kotlin backticks
...
Closes gh-32487
2 years ago
Stéphane Nicoll
dfc1b839f3
Polish "Fix default strategy description of ProblemDetail error codes"
...
See gh-32446
2 years ago
Linor Dolev
302c24aaa8
Fix default strategy description of ProblemDetail error codes
...
See gh-32446
2 years ago
Sébastien Deleuze
9cc74e78f8
Refine "Redirecting to a resource" section code sample
...
The commit updates the code sample to use a null element friendly list.
Closes gh-32423
2 years ago
ZeroCyan
78fb378aef
Fix order of sections in Validation chapter of reference manual
...
Closes gh-32408
2 years ago
Juergen Hoeller
c1287d48e2
Polishing
2 years ago
Sam Brannen
528029a0ba
Document that SpEL expressions using array construction cannot be compiled
...
Closes gh-32401
2 years ago
Sam Brannen
380184e85a
Support SpEL compilation of #root or #this with non-public type
...
Prior to this commit, if a Spring Expression Language (SpEL) expression
referenced the root context object via the #root or #this variable, we
inserted a checkcast in the generated byte code that cast the object to
its concrete type. However if the root context object's type was
non-public, that resulted in an IllegalAccessError when the compiled
byte code was executed.
VariableReference.getValueInternal() already contains a solution for
global variables which inserts a checkcast to Object in the generated
byte code instead of to the object's concrete non-public type.
This commit therefore applies the same logic to #root (or #this when
used to reference the root context object) that is already applied to
global variables.
Closes gh-32356
2 years ago
Sébastien Deleuze
0de3b30029
Provide guidelines for using Kotlin properties with proxies
...
A typical use case is `@Scope` and its popular `@RequestScope`
specialization.
Closes gh-32287
2 years ago
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
2 years ago
Sam Brannen
0eb61c0f72
Polish REST Clients section
2 years ago
Cirus Thenter
2284254d39
Fix Kotlin syntax errors in RestClient builder example
...
Closes gh-32265
2 years ago
Sébastien Deleuze
6e9607ce99
Use double dot in META-INF/aop.xml documentation
...
Closes gh-32264
2 years ago
Stéphane Nicoll
48da9524c3
Polish
2 years ago
Sam Brannen
68189f3de9
Document that "functions are variables" in SpEL evaluation contexts
...
Although EvaluationContext defines the API for setting and looking up
variables, the internals of the Spring Expression Language (SpEL)
actually provide explicit support for registering functions as
variables.
This is self-evident in the two registerFunction() variants in
StandardEvaluationContext; however, functions can also be registered as
variables when using the SimpleEvaluationContext.
Since custom functions are also viable in use cases involving the
SimpleEvaluationContext, this commit documents that functions may be
registered in a SimpleEvaluationContext via setVariable().
This commit also explicitly documents the "function as a variable"
behavior in the class-level Javadoc for both StandardEvaluationContext
and SimpleEvaluationContext, as well as in the reference manual.
Closes gh-32258
2 years ago