Juergen Hoeller
d4a8f76bf9
Consistent volatile access to running flag in Lifecycle implementations
...
Issue: SPR-16488
7 years ago
Juergen Hoeller
58011f71e9
Consistent assertions for template method result vs servlet registration
7 years ago
Sam Brannen
2575c26020
Clean up warnings and dead code in spring-webflux module
7 years ago
igor-suhorukov
d89f9af22d
parentheses should be removed from a single lambda input parameter when its type is inferred
7 years ago
igor-suhorukov
0c45c4c6a3
lamdbas containing only one statement should not nest this statement in a block
7 years ago
Juergen Hoeller
139dc1d373
Polishing (collapsed if checks, consistent downcasts, refined javadoc)
7 years ago
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
7 years ago
Rossen Stoyanchev
27815847b1
content-length support in EncoderHttpMessageWriter
...
EncoderHttpMessageWriter checks explicitly for Mono publishers and sets
the content length, if it is known for the given data item.
Issue: SPR-16542
7 years ago
igor-suhorukov
129530f792
Polish
...
Closes gh-1715
7 years ago
Rossen Stoyanchev
9352e3d047
Add ClientRequest attribute for URI template
...
Issue: SPR-16537
7 years ago
igor-suhorukov
83300c4b27
Polish: follow naming convention
7 years ago
igor-suhorukov
8080f56db8
Polish: "@Override" should be used on overriding and implementing methods
7 years ago
igor-suhorukov
7bce04c06c
Polish: combine catches block with same body
7 years ago
igor-suhorukov
49fd724d8f
Polish: String function use should be optimized for single characters
7 years ago
Rossen Stoyanchev
9c55dd5961
Additional shortcut with charset in WebSocketMessage
7 years ago
Juergen Hoeller
3531c104b0
Prefer Collections.addAll call with array over Set.addAll(Arrays.asList)
7 years ago
Juergen Hoeller
a5cbf5fe24
Consistent use of Collection.toArray with zero-sized array argument
...
Includes consistent use of ClassUtils.toClassArray (as non-null variant)
Issue: SPR-16523
7 years ago
Juergen Hoeller
0de36d2883
Consistent HttpMethod identity comparisons
7 years ago
Juergen Hoeller
d7cab23e6d
Consistent use of StringUtils.toStringArray
...
(cherry picked from commit 6d11b40
)
7 years ago
Juergen Hoeller
8d3264f680
Prefer List.sort(Comparator) over Collections.sort(List, Comparator)
7 years ago
igor-suhorukov
7826567df6
Polish: lamdbas containing only one statement should not nest this statement in a block
7 years ago
Juergen Hoeller
99662bc702
Polishing
7 years ago
igor-suhorukov
45e520ed86
Polish: remove unused private fields, remove empty operator
7 years ago
Rossen Stoyanchev
1908080d5c
Test for disconnected client detection
...
Issue: SPR-16494
7 years ago
Rossen Stoyanchev
73095955bf
Refine logging in ExchangeFunctions
...
Notably do not log error signal since we are letting that propagate.
Also improve logging messages vs relying on the log operator.
Issue: SPR-16484
7 years ago
igor-suhorukov
0ee505b73e
Polish: assertion arguments should be passed in the correct order,
...
use assertNull instead of assertEquals(null, value),
declare delta as double value in assertEquals
7 years ago
igor-suhorukov
6ea0af3540
Polish: Lambdas should be replaced with method references
7 years ago
Stephane Nicoll
991eb4858e
Update copyright header
7 years ago
igor-suhorukov
e381514b07
Collection.isEmpty() should be used to test for emptiness
...
Closes gh-1670
7 years ago
igor-suhorukov
4c888d0f32
Polish
...
Closes gh-1669
7 years ago
Rossen Stoyanchev
1653a32a04
Stabilize Flux.interval emissions in integration tests
...
After this commit the use of interval in tests is combined with
take(n).onBackpressureBuffer(n) to ensure emissions don't fail if the
fixed rate is exceeded (e.g. on slow CI server).
Tests that verify N number of items followed by verifyOnComplete()
should set the number of emissions to N.
Tests that verify N number of items followed by thenCancel() should
set the number of buffered to an arbitrary number greater than N.
7 years ago
Arjen Poutsma
609f173ebc
StringDecoder shouldn't chop off strings randomly
...
Issue: SPR-16337
7 years ago
Juergen Hoeller
c5a33d62dd
TypeVariablesVariableResolver compares variables by full equality again
...
Issue: SPR-16456
7 years ago
Juergen Hoeller
7f96827ade
Polishing
7 years ago
sdeleuze
b6c78452b2
Update and improve script templating documentation
...
Issue: SPR-16447
7 years ago
sdeleuze
b2681e1f4a
Add ViewResolverRegistry#scriptTemplate in WebFlux
...
Issue: SPR-16431
7 years ago
sdeleuze
d02e4fb545
Add Vary:Access-Control-Request-Method/Headers CORS headers
...
This commit adds these 2 Vary headers in addition to the existing
Origin one to avoid caching of Access-Control-Request-Method and
Access-Control-Request-Headers headers which can be an issue
when allowed methods or headers are unbounded and only the
requested method or headers are returned in the response.
Issue: SPR-16413
7 years ago
sdeleuze
32f6ccece8
Add WebFlux support for Smile streaming
...
The commit brings following changes:
- Move getDecodableMimeTypes() to AbstractJackson2Decoder
- Move getEncodableMimeTypes() to AbstractJackson2Encoder
- Add support for application/stream+x-jackson-smile
- Avoid streaming line separator when Smile encoder is used
- Use double null token in Jackson2Tokenizer to identify documents
Issue: SPR-16151
7 years ago
Rossen Stoyanchev
00b95b10a8
Docs: result handling and view resolution
...
Issue: SPR-16393
7 years ago
Rossen Stoyanchev
fbde97f302
Default order 0 for ServerResponseResultHandler
...
Issue: SPR-16420
7 years ago
Juergen Hoeller
61579ffe7b
Polishing
7 years ago
Juergen Hoeller
9d0e62ef68
Javadoc format and related polishing
7 years ago
Arjen Poutsma
0befc60c8f
Renamed DataBufferUtils/DataBufferFactory.compose to join
...
Issue: SPR-16365
7 years ago
Arjen Poutsma
c53c8bfc5a
Set 304 status on ServerResponse when ETag/LastModified match
...
This commit checks the Etag/LastModified headers on the incoming
request, and sets a 304 Not Modified status with no body when they
match, by delegating to ServerWebExchange.checkNotModified.
Issue: SPR-16348
7 years ago
Arjen Poutsma
c211e3998b
Polishing
7 years ago
Arjen Poutsma
61d330f805
Javadoc
7 years ago
Juergen Hoeller
ea5f8f5a7c
Consistently handle NoClassDefFoundError in BeanUtils and related places
...
Issue: SPR-16369
7 years ago
Juergen Hoeller
9623cdec48
Functional response builders allow for non-standard HTTP status codes
...
Issue: SPR-16366
7 years ago
Juergen Hoeller
4c9ed0d87e
Polishing
7 years ago
Arjen Poutsma
67e7c784e8
Use DataBufferUtils.compose and remove writeAggregator
...
Use DataBufferUtils.compose instead of writeAggregator to combine
multiple data buffers into one, as the write aggregator would not work
when the initial data buffer did not have enough capacity to contain
all subsequent buffers.
Removed writeAggregator, as it is no longer needed.
Issue: SPR-16365
7 years ago