Sebastien Deleuze
fd69c90fcb
Add ServerResponse extensions for json, xml and html
...
Issue: SPR-17017
8 years ago
Juergen Hoeller
2cd006923c
Polishing
8 years ago
Sebastien Deleuze
c0264072ab
Avoid ServerResponse static imports in WebFlux router DSL
...
Provide functions like ok() in RouterFunctionDsl to avoid
ServerResponse static imports.
Issue: SPR-17009
8 years ago
Arjen Poutsma
37a3765a4e
Fix checkstyle errors
8 years ago
Arjen Poutsma
490302ebf8
Added RequestPredicates.methods(HttpMethod...)
...
Added a predicate that tests for multiple HTTP methods.
8 years ago
Arjen Poutsma
91e96d8084
Improve RouterFunction builder
...
This commit improves the RouterFunctions.Builder based on conversations
had during the weekly team meeting.
Issue: SPR-16953
8 years ago
Rossen Stoyanchev
5cdc26770e
Correlated WebClient log messages
...
Issue: SPR-16966
8 years ago
Rossen Stoyanchev
82310660fd
Correlated encoding/decoding log messages via hints
...
Issue: SPR-16966
8 years ago
Rossen Stoyanchev
fd90b73748
Correlated WebFlux server log messages
...
Issue: SPR-16966
8 years ago
Rossen Stoyanchev
8bffb6a798
Add defaultRequest option to WebClient.Builder
...
Issue: SPR-16873
8 years ago
Rossen Stoyanchev
da5b705328
Polish default headers/attributes in WebClient
8 years ago
Rossen Stoyanchev
907a306ee2
Fix locally failing test in FlushingIntegrationTests
8 years ago
Juergen Hoeller
e22466e9d5
Polishing
8 years ago
Juergen Hoeller
df6b01a329
Remove deprecated classes and methods from early 5.0.x phase
8 years ago
Juergen Hoeller
d34e6f7f70
Polishing
8 years ago
Juergen Hoeller
8ad5299f4a
Polishing
8 years ago
Juergen Hoeller
40efcc933c
Polishing
8 years ago
Arjen Poutsma
794693525f
Polishing
8 years ago
Arjen Poutsma
a691065d05
Polishing
8 years ago
Arjen Poutsma
8202052b38
Introduce RouterFunction builder
...
This commit introduces RouterFunctions.Builder, a new way to build
router functions that does not require static imports, thus being more
discoverable and convenient.
Issue: SPR-16953
8 years ago
Phillip Webb
a89e716cc7
Use tabs rather than spaces in tests
...
Update tests to ensure that tabs are used instead of spaces. Also
consistently apply a new line at the end of each file.
Issue: SPR-16968
8 years ago
Phillip Webb
1c25cec44f
Polish test code
...
Polish a few issue identified when adding checkstyle to the
build. Although checkstyle is not enforcing rules on tests,
these are a few minor changes that are still worth making.
Issue: SPR-16968
8 years ago
Phillip Webb
81451aa800
Organize imports
...
Reorganize imports to ensure consistent ordering. This commit also
expands any `.*` static imports in favor of using fully-qualified
method references.
Issue: SPR-16968
8 years ago
Phillip Webb
b220d94cc2
Never use parenthesis for single lambda arguments
...
Update all lambdas that take a single argument so that parenthesis
are never used.
Issue: SPR-16968
8 years ago
Phillip Webb
5cedd0d5d4
Consistently use tabs rather than spaces
...
Update code that has accidentally used spaces instead of tabs.
Also remove all trailing whitespace.
Issue: SPR-16968
8 years ago
Phillip Webb
0b53c1096a
Always use 'this.' when accessing fields
...
Ensure that `this.` is used consistently when accessing class
fields.
Issue: SPR-16968
8 years ago
Phillip Webb
eeebd51f57
Use consistent class design
...
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968
8 years ago
Phillip Webb
0ad0f341bd
Don't use single letter catch variables
...
Update existing catch blocks to ensure that `ex` is always used
in preference to `e` or `t` as the variable name.
Issue: SPR-16968
8 years ago
Phillip Webb
e9d1b39aff
Apply consistent copyright header
...
Add copyright header to `package-info.java` files and fix a few
malformed headers on existing java files.
Issue: SPR-16968
8 years ago
Phillip Webb
c3a17dfd47
Ensure all files end with a newline
...
Update all files to ensure that they always end with a new line.
Issue: SPR-16968
8 years ago
Phillip Webb
e0480f75ac
Fix javadoc checkstyle issues
...
Fix checkstyle violations for javadoc.
Issue: SPR-16968
8 years ago
Napster
8aa6e5bfea
Undertow WebSocket sessions use shared ByteBufferPool
...
Issues: SPR-16957
8 years ago
Rossen Stoyanchev
7ccd2b024d
Refine logging for async requests
...
Issue: SPR-16898
8 years ago
Rossen Stoyanchev
900bc8a2e3
Logging improvements for WebFlux
...
Issue: SPR-16898
8 years ago
Brian Clozel
4a26f93a0d
WebClient writes Content-Length for Mono bodies
...
In SPR-16892, the `EncoderHttpMessageWriter` has been improved to write
`"Content-Length"` HTTP response headers if the response body is of type
`Mono` (i.e. the actual content length is easily accessible without
buffering a possibly large response body). That change was relying on
the fact that the server side is using a `ChannelSendOperator` to delay
the writing of the body until the first signal is received.
This strategy is not effective on the client side, since no such channel
operator is used for `WebClient`. This commit improves
`EncoderHttpMessageWriter` and delays, for `Mono` HTTP message bodies
only, the writing of the body so that we can write the
`"Content-Length"` header information once we've got the body resolved.
Issue: SPR-16949
8 years ago
Rossen Stoyanchev
03c305136d
Fix failing tests
8 years ago
Rossen Stoyanchev
afa45950ff
Polish ExchangeFilterFunction[s]
8 years ago
Rossen Stoyanchev
86c861516d
Accept Predicate instead of HandlerTypePredicate
...
Issue: SPR-16336
8 years ago
Rossen Stoyanchev
19dc981685
Path prefixes for groups of controllers
...
Issue: SPR-16336
8 years ago
Rossen Stoyanchev
3acb96efd0
CachingResourceResolver varies by known codings only
...
Issue: SPR-16381
8 years ago
Rossen Stoyanchev
010352163b
Eliminate the need for Encoder#getContentLength
...
Issue: SPR-16892
8 years ago
Sebastien Deleuze
f2ee18493f
Make RouterFunctionDsl extensible
...
Issue: SPR-16897
8 years ago
Rossen Stoyanchev
a3216432b5
Polish
...
Issue: SPR-16387
8 years ago
Violeta Georgieva
ffbc75ae47
Upgrade to Reactor Netty 0.8
...
Issue: SPR-16387
8 years ago
Juergen Hoeller
f3e860e8f1
Resource handler tests expect status 404 for directory in jar file
...
Issue: SPR-16832
8 years ago
Juergen Hoeller
69f14a2038
ClassPathResource.isReadable() checks InputStream (for jar directories)
...
Resource.isReadable() is defined to semantically imply exists() now.
Issue: SPR-16832
8 years ago
Juergen Hoeller
8593fec22c
Avoid ConstantConditions warnings suppression (plus related polishing)
...
Issue: SPR-15756
8 years ago
Arjen Poutsma
8c30b8e628
Fix parent path variables in nested route functions
...
This commit fix an issue where path variables in a nested parent
RouterFunction were not committed to the request attributes.
Issue: SPR-16868
8 years ago
Rossen Stoyanchev
2acf91a438
Polish
8 years ago
Rossen Stoyanchev
d77797f42c
Improve readability of Body[Inserters|Extractors]
8 years ago