Commit Graph

4045 Commits

Author SHA1 Message Date
Julien Viet
21da7a952f Provide the Future#flatMap method as alias of Future#compose method - closes #3145 2019-10-15 12:42:48 +02:00
Julien Viet
0b019d0d9d Extend Future#compose to allow remapping errors - closes #3144 2019-10-15 12:36:10 +02:00
Kowalczyk
8ea333ec5a 2934 make compressed http2 request possible
Signed-off-by: Kowalczyk <bkowalczyyk@gmail.com>
2019-10-15 11:53:13 +02:00
Julien Viet
3d7ee3ceeb Use Netty future/promise in AsyncResolveConnectHelper to remove unecessary concurrency - fixes #3142 2019-10-15 11:29:37 +02:00
Julien Viet
41cd0da5c1 Improve usage of synchronization in HttpClientRequest 2019-10-14 10:37:37 +02:00
Julien Viet
cd09e7bfdf Do not lock the handler calls in AsyncFile - closes #3140 2019-10-14 10:06:32 +02:00
Julien Viet
dfc48ddd9e Remove succeeded/failed Promise creation - closes #3139 2019-10-14 00:14:28 +02:00
Julien Viet
bbf77eea36 Return the empty succeeded future when for succeeded null futures 2019-10-13 19:26:12 +02:00
Julien Viet
165b0f4a7f EventBus consumer should register pending replies context close hooks when the context is associated with a deployment - closes #3138 2019-10-13 19:26:00 +02:00
Julien Viet
39cbb5840e ServerWebSocket asynchrone handshake method should consume a future instead of a promise - closes #3137 2019-10-13 19:25:48 +02:00
Julien Viet
a2369208b7 NPE on WebSocket reject - closes #3131 2019-10-07 14:04:15 +02:00
Julien Viet
eb40550dd1 Releasing 3.8.3-SNAPSHOT 2019-10-04 09:45:04 +02:00
Julien Viet
845749b977 Releasing 3.8.2 3.8.2 2019-10-03 11:53:22 +02:00
Julien Viet
cc7365a9d5 Avoid unecessary string concat on hot path 2019-10-03 11:47:49 +02:00
Julien Viet
601e5f5757 Adjustements 2019-10-02 18:02:40 +02:00
swinterberger
f3d2535f94 Fix imports
Signed-off-by: swinterberger <sean.winterberger@gmail.com>
2019-10-02 17:07:41 +02:00
swinterberger
665f52fb84 I suppose there is no reason to return the full response, just return the headers
Signed-off-by: swinterberger <sean.winterberger@gmail.com>
2019-10-02 17:07:41 +02:00
swinterberger
2eb6ab8016 Add websocket client response headers to completion handler. Clear them after handled
Signed-off-by: swinterberger <sean.winterberger@gmail.com>
2019-10-02 17:07:41 +02:00
Julien Viet
669feec9e1 Cannot remove server cookies without getting cookie list first - closes #3122 2019-10-02 16:33:47 +02:00
Dimitris Zenios
f09e010548 Fixes #3119
Signed-off-by: zenios <dimitris.zenios@gmail.com>
2019-09-29 09:58:04 +02:00
Stéphane Épardaud
fa255604d1 Fixed docs of Context.isOnEventLoopThread() (#3118)
Signed-off-by: Stephane Epardaud <stef@epardaud.fr>
2019-09-27 14:39:29 +02:00
Thomas Segismont
a0a26d24b9 Synchronize access to shared http server map (#3117)
* Synchronize access to shared http server map

Fixes #2565

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>

* Synchronize access to shared net server map too

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-09-26 14:56:11 +02:00
Thomas Segismont
8f90bd2640 Fixed InboundBuffer Javadoc for write methods (#3114)
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-09-26 09:47:22 +02:00
Thomas Segismont
a88d1fa99a JsonArray methods for insertion of data at given position (#3110)
* JsonArray methods for insertion of data at given position

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>

* Added tests for JsonArray set methods

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-09-26 09:45:49 +02:00
Thomas Segismont
2026b07e69 Fixed link in Json Pointers doc
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-09-24 16:52:35 +02:00
Julien Viet
0bc549a203 Fix wrong package for JacksonCodec and DatabindCodec 2019-09-17 10:53:47 +02:00
Thomas Segismont
df6f93a7c9 Relax TTL tests
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-09-16 15:18:47 +02:00
Julien Viet
0c07807989 Deprecate Json elements referencing Jackson types - closes #3108 2019-09-16 11:46:42 +02:00
Julien Viet
5c962e9d7f Rename io.vertx.core.json.impl package to io.vertx.core.json.jackson 2019-09-16 09:27:24 +02:00
Julien Viet
74637a21f1 Merge pull request #3101 from vietj/jackson-not-required-oob
Vert.x should run base operations without requiring Jackson - closes #3099
2019-09-09 09:52:29 +02:00
Julien Viet
ee1efdf10a Rename JsonMapper to JsonCodec 2019-09-05 15:59:23 +02:00
Julien Viet
8b51c4392a Improve JsonMapperTest 2019-09-05 15:51:41 +02:00
Julien Viet
5148ef762f Move relevant tests to JsonMapperTest 2019-09-05 15:51:36 +02:00
Julien Viet
190b1426a0 Rework json test to have object/array encode/decode in its own class 2019-09-05 15:51:31 +02:00
Julien Viet
b881199c05 Rename JsonMapperTest to JacksonDatabindTest 2019-09-05 15:51:26 +02:00
Julien Viet
5a44781eb2 Don't use JsonObject parsing constructor when testing another feature 2019-09-05 15:51:21 +02:00
Julien Viet
0dcae85aa1 Factor out common code 2019-09-05 15:51:15 +02:00
Julien Viet
12660a5257 Avoid using databind JavaType class 2019-09-03 08:43:15 +02:00
Julien Viet
d4bc562e83 Rename JsonFactory to JsonMapper 2019-09-02 16:51:07 +02:00
Julien Viet
5d91611259 Minor: remove double semi colon 2019-09-02 11:31:26 +02:00
Julien Viet
7b0039bdcf Move the json decoding of json values from JsonParser 2019-09-02 09:48:04 +02:00
Julien Viet
54f4d97ec1 Avoid to use JacksonJsonFactory directly whenever possible 2019-09-02 09:27:25 +02:00
Julien Viet
3316a4be5d Move the mapper usage to JacksonJsonFactory 2019-09-02 08:54:53 +02:00
qxo
0af61a3ed8 fix for maven build Error message on windows
[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /

Signed-off-by: qxo <qxodream@gmail.com>
2019-09-01 14:23:37 +02:00
Julien Viet
ec60b424ad Jackson should not be required to run OOTB for operations that don't require json encode/decode operations 2019-08-30 09:43:00 +02:00
Julien Viet
46a54e50ae Move the asStream operation from Json to JsonObject 2019-08-29 16:00:52 +02:00
Julien Viet
4279a16425 Move the checkAndCopy operation from Json to JsonObject 2019-08-29 15:56:14 +02:00
Julien Viet
1fd42c5632 Fix minor javadoc issue in JsonObject/JsonArray 2019-08-29 15:55:04 +02:00
Julien Viet
4ffe9f6374 Backport cookie documentation in 3.8 branch 2019-08-23 16:55:56 +02:00
Julien Viet
9f1d2b7133 HTTP/1.1 connection state might be corrupted when processing pipelined requests - closes #3082 2019-08-23 16:32:30 +02:00