Rob Winch
fd6fc30eea
Add RequestPostProcessor
...
Fixes gh-81
2016-03-31 12:33:45 -05:00
Arjen Poutsma
75d006d2f9
Improve StringDecoder.
2016-03-31 11:31:02 +02:00
Arjen Poutsma
d927d72204
Merge pull request #76 from lukas-krecan/trivial-test-fix
...
Replacing potentionally slow and infinite while loop by a latch
2016-03-29 10:36:22 +02:00
Lukas Krecan
23f3fff367
Replacing potentionally slow and infinite while loop by a latch
2016-03-29 10:33:21 +02:00
Arjen Poutsma
d9d76ecd19
Polishing
2016-03-24 09:39:58 +01:00
Arjen Poutsma
10af007110
Merge pull request #74 from poutsma/refactor_servlet31_undertow
...
Refactoring of Servlet 3.1 and Undertow support
2016-03-23 17:10:07 +01:00
Arjen Poutsma
35e511b03f
Resolved comments from review
...
This commit resolves a few comments brought forward during a review
meeting, specifically:
- It renames AbstractResponseBodyPublisher to
AbstractRequestBodyPublisher.
- It separates out registration logic into a register method.
- It moves the RequestBodyPublisher and ResponseBodySubscriber for the
Servlet 3.1 support back into ServletHttpHandlerAdapter.
2016-03-23 17:04:18 +01:00
Arjen Poutsma
d20b0003c6
Refactoring of Servlet 3.1 and Undertow support
...
- Introduce abstract base class for Servlet 3.1 and Undertow support
- Simplify Undertow support
2016-03-23 16:02:44 +01:00
Arjen Poutsma
f7c6c69e51
Improve JacksonJsonEncoder
...
This commit removes the need for the custom Subscriber in
JsonObjectEncoder, and replaces it with higher-level Flux and Mono-based
solution.
2016-03-21 11:37:51 +01:00
Arjen Poutsma
7f786ce4d7
Added DataBufferAllocator property to ReactiveHttpOutputMessage, and use that to pass on to Encoder.encode().
2016-03-18 16:14:33 +01:00
Arjen Poutsma
1836b2825b
Added DataBufferAllocator parameter to Encoder.encode, and use that instead of AbstractAllocatingEncoder base class.
2016-03-18 16:05:30 +01:00
Arjen Poutsma
e56dda1864
Make JsonObjectDecoder use allocator property on DataBuffer.
2016-03-18 14:11:25 +01:00
Arjen Poutsma
b838fdab88
Added allocator property to DataBuffer
2016-03-18 12:16:23 +01:00
Arjen Poutsma
273c1b85e6
Reduced batch size to 1, so that we don't block on init.
2016-03-18 11:58:55 +01:00
Arjen Poutsma
2c52731417
Various test improvements
2016-03-18 10:02:28 +01:00
Arjen Poutsma
5519428d43
Replaced DataBufferPublisherInputStream with JDK equivalent.
2016-03-18 10:02:28 +01:00
Rossen Stoyanchev
72dbe9012e
Add cookies to ClientHttpRequest/Response
2016-03-17 21:04:50 -04:00
Rossen Stoyanchev
e19abf9c90
Rename ServerCookie to ResponseCookie
...
HttpCookie-ResponseCookie follows HttpEntity-ResponseEntity and also
avoids use of "Server" outside of server sub-package.
2016-03-17 15:28:55 -04:00
Arjen Poutsma
a874aa4db9
Merge pull request #71 from rwinch/gradle-2.12
...
Update to Gradle 2.12
2016-03-17 16:17:09 +01:00
Rob Winch
ececec21f7
Update to Gradle 2.12
2016-03-17 10:11:28 -05:00
Rob Winch
62753102dc
Ensure a consistent netty version
...
Currently there are clashes between io.netty:netty-common:4.1.0.Beta7 and
io.netty:netty-all:4.1.0.CR3 which can cause errors in the build related
to "VerifyError: Bad type on operand stack".
One solution would be to exclude the jars that duplicate the classes.
However, this can be fragile since additional dependencies may be added
that bring in the dependency transitively.
This commit locks the version for any artifiact with the group "io.nettty"
to ensure the correct version of netty is used.
2016-03-17 10:11:12 -05:00
Arjen Poutsma
10a04b0769
Test improvements.
2016-03-17 10:21:04 +01:00
Stephane Maldini
530c817287
sync reactor-netty
2016-03-12 01:16:49 +00:00
Stephane Maldini
13ddfb4aab
update package
2016-03-11 22:15:11 +00:00
Stephane Maldini
f02492e15f
sync with reactor-core and reactor-io
2016-03-11 20:02:34 +00:00
Rossen Stoyanchev
e97a55ad54
WebClient supports Void response body
...
WebResponseExtractor uses Mono.when with the response status, headers,
and the decoded body. However when the response body stream is empty
then when completes empty too.
This change adds defaultIfEmpty handling for en empty response body.
2016-03-07 17:07:12 -05:00
Rossen Stoyanchev
b2648f84ad
DefaultWebSessionManager supports multiple sessions
...
Issue: #64
2016-03-07 11:20:51 -05:00
Stephane Maldini
1eadee5655
integration build with Reactor Core 2.5.0.M2
2016-03-07 13:57:27 +00:00
Rossen Stoyanchev
ca7aeaae35
WebSessionIdResolver now returns List of ids
...
Issue: #64
2016-03-03 22:32:03 -05:00
Rossen Stoyanchev
dbc6478b8a
Refactor HTTP Cookie support
...
There is now an HttpCookie (simple name-value pair) and separately a
ServerHttpCookie sub-class with additional attributes that a server
can send to clients.
HttpHeaders is no longer the place to access cookies. Instead there is
a read-only HttpCookie map on ServerHttpRequest and a mutable
ServerHttpCookie map on ServerHttpResponse.
Cookies are stored in a map that preserves their order.
2016-03-03 22:17:39 -05:00
Stephane Maldini
a8c777b35f
Remove reference to Fluxion
2016-03-04 00:05:35 +00:00
Stephane Maldini
ce4a687cf2
remove reactor-stream and related artefacts, update tests
2016-03-03 23:57:03 +00:00
Sebastien Deleuze
379ce6354e
Update for latest Reactor Core Snapshot
2016-03-01 22:19:54 +01:00
Sebastien Deleuze
dc52d4c31f
Update for latest Reactor Core Snapshot
2016-03-01 22:07:54 +01:00
Stephane Maldini
14948d4241
sync reactor
2016-03-01 20:50:55 +00:00
Stephane Maldini
4197f002d8
Arrange WriteWithOperator to save some allocation cost with the same technique used by RSC and Reactor
2016-02-28 11:49:00 +00:00
Stephane Maldini
423a4852c5
use EmptySubscription
2016-02-28 11:29:46 +00:00
Stephane Maldini
fc1b2e96f7
Introduce Mono#justOrEmpty(T)
2016-02-28 00:56:10 +00:00
Stephane Maldini
999dfe3925
Sync BaseSubscriber
2016-02-27 23:18:22 +00:00
Stephane Maldini
24d9e99de1
Sync toCompletableFuture
2016-02-27 21:36:31 +00:00
Stephane Maldini
cc77a338b1
Sync reactor-core jdk8 bump
2016-02-27 13:34:15 +00:00
Stephane Maldini
4c477189a6
revert module Reactor Fluxion to Reactor Stream
2016-02-27 11:06:07 +00:00
Stephane Maldini
9f94f8c88e
Sync to Fluxion to remove Stream confusion
2016-02-26 21:42:52 +00:00
Arjen Poutsma
361707c448
Servlet 3.1 support cleanup
...
Claneup of the Servlet 3.1 support:
- moved RequestBodyPublisher to ServletServerHttpRequest
- moved ResponseBodySubscribera to ServletServerHttpResponse
- response body is now copied to ServletOutputStream in chunks, rather
than one big byte[]
2016-02-23 14:35:49 +01:00
Arjen Poutsma
2fcbeb6595
Fixed issue with DefaultDataBuffer.asInputStream()
2016-02-23 14:14:34 +01:00
Stephane Maldini
f920d2ce1e
sync with reactor-stream update
2016-02-23 09:39:49 +00:00
Arjen Poutsma
51a90465d4
Polishing
2016-02-23 10:24:18 +01:00
Arjen Poutsma
f036f745a6
Improved RxNetty support.
2016-02-18 15:49:45 +01:00
Brian Clozel
d68ff29e9b
Use default buffer allocator in RequestMappingHandlerAdapter
...
This commit removes RequestMappingHandlerAdapter's hard dependency on
Netty by switching to the DefaultDataBufferAllocator.
2016-02-10 23:16:48 +01:00
Sebastien Deleuze
628ae2fda8
Use Flux instead of Stream in Publisher based integration tests
2016-02-09 18:02:02 +01:00