Sebastien Deleuze
727ca4514a
Stream custom types in Jackson2JsonEncoder
...
Issue: SPR-15727
9 years ago
Sebastien Deleuze
9901c38f9d
Improve logging of DefaultCorsProcessor for rejected headers
...
Issue: SPR-15708
9 years ago
Sebastien Deleuze
1fa8410995
Leverage RFC_1123_DATE_TIME formatter in tests
...
Issue: SPR-15661
9 years ago
Sam Brannen
f790337880
Clean up warnings in spring-test
9 years ago
Rossen Stoyanchev
9528c3532d
Fix typo
9 years ago
Rossen Stoyanchev
15cf9c1d78
Switch to ContainerPath variants in HandlerMapping's
9 years ago
Rossen Stoyanchev
145eab9c2f
Remove PathMatchResultComparator
...
Follow-up change to the previous commit.
9 years ago
Rossen Stoyanchev
a5e54788cc
Remove PathPatternComparator
...
Direct comparison of a pattern (as a String) to the path does not make
much sense now that we deal with URL encoding through PathContainer
which exposes (safely) decoded path segments.
Removing the PathPatternComparator also means we can keep patterns
pre-sorted instead of sorting them all the time. That probably offsets
any benefits from comparing to the lookup path for direct matches and
patterns are still sorted according to specificity.
9 years ago
Rossen Stoyanchev
850083ca6c
Polish
9 years ago
Rossen Stoyanchev
8581afa621
WebFlux compiles after PathPattern/Container changes
9 years ago
Andy Clement
26448a0ebc
Rework matching to use PathContainer
9 years ago
Rossen Stoyanchev
fc3fcf05fd
Refactor PathSegmentContainer -> PathContainer
...
The new PathContainer represent the path as a series of elements
including separators. This naturally represents leading/trailing
slashes and empty path segments which in turn makes it easier to match
in PathPattern as well as to reconstruct the path.
9 years ago
Juergen Hoeller
6534359473
FactoryBean object cache cleared on shutdown
...
Issue: SPR-15722
9 years ago
Juergen Hoeller
9afce23845
WebSocketSession.getUri() may return null
...
Issue: SPR-15721
9 years ago
Arjen Poutsma
930f0f1760
Add ServerRequest.cookies()
...
This commit introduces a cookies() method on ServerRequest, returning a
MultiValueMap<String, HttpCookie>.
Issue: SPR-15715
9 years ago
Arjen Poutsma
621df7c978
Add ByteBuf leak detection @Rule
...
This commit introduces a JUnit rule that detects ByteBuf leaks in
subclasses of AbstractDataBufferAllocatingTestCase.
9 years ago
Juergen Hoeller
b33d8c6ade
Merge pull request #1467 from violetagg/deferred-result-handle-error
...
Polish - the flag continueProcessing is not needed
9 years ago
Violeta Georgieva
5f020d1ee7
Polish - the flag continueProcessing is not needed
9 years ago
Juergen Hoeller
5f4d1a4628
CronSequenceGenerator.isValidExpression actually validates cron fields
...
Issue: SPR-15604
9 years ago
Juergen Hoeller
cc74a2891a
@Nullable all the way: null-safety at field level
...
This commits extends nullability declarations to the field level, formalizing the interaction between methods and their underlying fields and therefore avoiding any nullability mismatch.
Issue: SPR-15720
9 years ago
Juergen Hoeller
c4694c3f5c
WebAsyncManager defensively ignores attribute type mismatch
...
Issue: SPR-15709
9 years ago
Juergen Hoeller
af69c5b6a9
Upgrade to AspectJ 1.9 beta 6
...
Issue: SPR-15686
9 years ago
Rossen Stoyanchev
8f4eb23540
Remove use of Optional in SyncHandlerMethodArgumentResolver
...
... and a couple more protected methods in WebFlux
Issue: SPR-15718
9 years ago
Rossen Stoyanchev
7de6cfa1df
Refactor WebSession#getAttribute options
...
Issue: SPR-15718
9 years ago
Rossen Stoyanchev
9253facf02
Refactor ServerWebExchange#getAttribute options
...
Issue: SPR-15718
9 years ago
Stephane Maldini
cd643704ad
Update to reactor core 3.1.0.B-S with context update for monoSendOperator
...
Explicit typing for older jvm compilation in BodyExtractor
9 years ago
Rossen Stoyanchev
67330dfc23
Expose mapped handler as an exchange attribute
...
Issue: SPR-15564
9 years ago
Arjen Poutsma
58a5e7f17b
Proper closing of resources
...
This commit introduces a `doFinally` block that properly signals the
end of input for the non-blocking XML and JSON parsers.
9 years ago
Arjen Poutsma
9d7b8503d0
Delay DataBuffer release until stream is closed
...
This commit changes the release of data buffers from a finally block
into a `doFinally()` lambda on the returned `Flux<XMLEvent>` stream.
Issue: SPR-15707
9 years ago
Stephane Nicoll
b1f06fddd2
Polish
...
Issue: SPR-14528
9 years ago
Arjen Poutsma
33f99910dd
Change spaces to tabs in build.gradle
9 years ago
Arjen Poutsma
31e0e53750
Leverage Jackson non-blocking parser
...
This commit introduces the Jackson2Tokenizer as a replacement for the
JsonObjectDecoder. The latter was dropped because of its complexity, and
hard dependency on Netty's ByteBuf.
The new Jackson2Tokenizer leverages the new non-blocking JSON parser,
using it to parse the incoming data buffers into TokenBuffers, each
token buffer representing one JSON object. As with JsonObjectDecoder,
it also supports streaming individual JSON array elements.
Issue: SPR-14528
9 years ago
Arjen Poutsma
b778f94a07
Made ObjectMapper field private with protected accessor
9 years ago
Rossen Stoyanchev
667437e300
Polish
9 years ago
Sebastien Deleuze
d728d597f2
Add missing license headers in Kotlin files
9 years ago
Juergen Hoeller
87430f3cd3
ListenableFuture provides CompletableFuture adaptation via completable()
...
Issue: SPR-15696
9 years ago
Juergen Hoeller
98642c7e29
Consistent ScriptTemplateView locale resolution via request
...
Issue: SPR-15064
9 years ago
Juergen Hoeller
41eaf03bc8
Compatibility with covariant return type on JDK 9's ByteBuffer
...
Issue: SPR-15686
9 years ago
Rossen Stoyanchev
cea1a0f1ca
Polish
9 years ago
Violeta Georgieva
9cb74b1399
Enable suspend/resume on reactive TomcatWebSocketSession
9 years ago
Rossen Stoyanchev
5b8f7f503f
Deprecate adapter classes for async interceptors
9 years ago
Rossen Stoyanchev
eb0479dee8
Polish
9 years ago
Violeta Georgieva
e0678ba583
Add onError callback to DeferredResult
...
Issue: SPR-15614
9 years ago
Juergen Hoeller
140542e8b1
Polishing
9 years ago
Juergen Hoeller
098ff6f0f8
Compatibility with JDK 9 release candidate build (175)
...
Includes upgrade to Objenesis 2.6, Gradle 3.5.1, RxJava 2.1.1, JSON Binding API 1.0 final.
Issue: SPR-15686
Issue: SPR-15600
9 years ago
Juergen Hoeller
155a1c6c71
AsyncHandlerInterceptor.afterConcurrentHandlingStarted declared as default method
...
Issue: SPR-15702
9 years ago
Sebastien Deleuze
ba3a12e4cc
Use fixed GMT time-zone for WebSession Clock
...
Issue: SPR-15675
9 years ago
Rossen Stoyanchev
043c0eff4f
Same session after mutate for WebTestClient mock server
...
Issue: SPR-15674
9 years ago
Sebastien Deleuze
d57cd37266
Upgrade to Kotlin 1.1.3
...
This commit also enables Kotlin build with JDK 9 since this new
version supports it.
9 years ago
Rossen Stoyanchev
97390fd939
Polish
9 years ago