Marek Hawrylczak
f1bec5f1e4
referencing fields of a class using this
11 years ago
Marek Hawrylczak
4c84117155
undertow support using non-blocking API’s
11 years ago
Rossen Stoyanchev
a48c9b6305
Replace DefaultConversionService in spring-reactive
11 years ago
Rossen Stoyanchev
c0dff3d2bb
Comply with Spring Framework code style
...
https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style
11 years ago
Rossen Stoyanchev
0989c8b3c2
HandlerMethodArgumentResolver is now asynchronous
11 years ago
Rossen Stoyanchev
6b73993a38
HandlerAdapter is asynchronous again
11 years ago
Sebastien Deleuze
01ae961820
Make DefaultConversionService usable by the upcoming client
11 years ago
Sebastien Deleuze
a257a4a37d
Polishing
11 years ago
Arjen Poutsma
b2bf18dd3d
Removed Closeable implementation
11 years ago
Arjen Poutsma
5f2e958fae
Removed IOException declaration
11 years ago
Arjen Poutsma
bd472af37e
Updated Copyright notices
11 years ago
Arjen Poutsma
6006fa6ec2
Optimized imports
11 years ago
Arjen Poutsma
e121f7ecd4
Improved documentation on setBody()
11 years ago
Arjen Poutsma
45a88974bc
Changed addBody() to setBody()
11 years ago
Arjen Poutsma
5727abc82d
Resolved merge conflicts
11 years ago
Arjen Poutsma
bab3b6fd1c
Introduce HttpMessage hierarchy
...
This commit introduces "reactive" sub-interfaces of the HttpMessage
interface found in the Spring Framework.
11 years ago
Stephane Maldini
3864fc24ff
Fix JSON encoding issue
11 years ago
Stephane Maldini
fd52ae999b
Update to latest reactor-net
...
Latest reactor-net doesn't depend on reactor-stream anymore (neither reactor-codec and reactor-bus, it only depends on reactor-core).
11 years ago
Sebastien Deleuze
adc50bbfb9
Add handler method parameter and result converters
...
This commit introduces the following changes:
- Publisher -> Observable/Stream/etc. conversion is now managed
in a dedicated ConversionService instead of directly in
RequestBodyArgumentResolver and ResponseBodyResultHandler
- More isolated logic that decides if the stream should be
serialized as a JSON array or not
- Publisher<ByteBuffer> are now handled by regular
ByteBufferEncoder and ByteBufferDecoder
- Handle Publisher<Void> return value properly
- Ensure that the headers are properly written even for response
without body
- Improve JsonObjectEncoder to autodetect JSON arrays
11 years ago
Sebastien Deleuze
cf2c1514af
Use latest Reactor core capabilities
...
No need for rxjava-reactive-streams dependency and
CompletableFutureUtils anymore.
11 years ago
Sebastien Deleuze
cb09e58a82
Fix SimpleHandlerResultHandler by using Publishers.completable()
11 years ago
Sebastien Deleuze
3ad765556d
Polish ByteBufferPublisherInputStream exception handling
11 years ago
Sebastien Deleuze
8ca04b8425
More accurate ResponseBodyResultHandler error message
11 years ago
Stephane Maldini
06a1ddbe93
Eliminate need for reactor stream in CompletableFutureUtils + fixes
11 years ago
Stephane Maldini
80f9a21b9d
Tweaks to ByteBufPubInputStream to use available blockingQueue facilities
11 years ago
Stephane Maldini
b11bef7a26
Eliminate need for rxJava in Json Encoder
11 years ago
Stephane Maldini
985640b6ce
Fix ReactorHttpServer with latest changes on shutdown behavior
11 years ago
Sebastien Deleuze
0042a65c53
Await properly Reactor server start/stop
...
The goal is to try to fix #32
With this change de Reactor test seems to execute slowly.
11 years ago
Sebastien Deleuze
07374f48d6
Move server related classes from src/test to src/main
11 years ago
Stephane Maldini
464ff1d960
Progress #24
...
Replace Streams fail, empty and Stream map with Publishers.error, empty and map.
Replace Streams calls by Publishers.flatMap, just and Publishers.from
Precise cancel and size to toReadQueue to simulate Promise
Update build
11 years ago
Sebastien Deleuze
0dabdb8207
Add request method based mapping
...
Closes #22
11 years ago
Sebastien Deleuze
906dead596
Polishing
11 years ago
Stephane Maldini
ec1189b0b5
minor fix and update to work on latest 2.1.0.BUILD-SNAPSHOT to use core check in CFUtils
11 years ago
Sebastien Deleuze
32214e0a49
Add Javadoc for main interfaces/classes
11 years ago
Sebastien Deleuze
9516c9992f
Return HandlerResult in HandlerAdapter#handle()
...
This commit updates HandlerAdapter#handle() to return HandlerResult
instead of Publisher<HandlerResult>. A new SimpleHandlerResultHandler
class has been introduced for handlers returning Publisher<Void>.
11 years ago
Stephane Maldini
d20fbffcd0
Update to Reactor 2.1.0.BUILD-SNAPSHOT
11 years ago
Stephane Maldini
4ffec61310
Update to 2.0.6 snapshot for Header sent too soon fix, which allows DispatcherHandler to assign content-type correctly.
11 years ago
Stephane Maldini
20c4011094
initialize reactor support, not passing requestmapping tests yet
11 years ago
Sebastien Deleuze
f816cc6a51
Add CompletableFuture/Single/Promise support
11 years ago
João Pedro Evangelista
d3e5d9dd03
Polishing
11 years ago
Sebastien Deleuze
110d9d7cd9
Use ByteBuffer instead of byte[]
11 years ago
Sebastien Deleuze
77c5b3fd65
Fix RxNetty tests by finding a new port for each test
11 years ago
Stephane Maldini
5e39858780
ignore for now
11 years ago
Sebastien Deleuze
870c1ae43b
Polishing
11 years ago
Sebastien Deleuze
3fd0f60618
Polish integration tests
11 years ago
Sebastien Deleuze
881db0688b
Add Codec support
...
This commit adds support for Publisher based codecs that allows to convert
byte stream to object stream and vice & versa.
Jackson, JAXB2 and String codec implementations are provided.
11 years ago
Sebastien Deleuze
5ddbbf4673
Rename XMLHandler.java to XmlHandler.java
11 years ago
Arjen Poutsma
01ef90f1ca
Fixed tests.
11 years ago
Arjen Poutsma
0b19fca73a
Added cancellation logic to RequestBodyPublisher.
11 years ago
Arjen Poutsma
5bbeb9c204
Removed BlockingSignalQueue in favor of PublisherSignal.
11 years ago