Commit Graph

4090 Commits

Author SHA1 Message Date
Paulo Lopes
e6341a3a2e Breaking: Fix JSON types to correctly follow RFC7493
Signed-off-by: Paulo Lopes <pmlopes@gmail.com>
2019-10-03 11:51:16 +02:00
Julien Viet
f79563be39 Adjustements 2019-10-02 18:10:14 +02:00
swinterberger
c592b7eb7d Fix imports
Signed-off-by: swinterberger <sean.winterberger@gmail.com>
2019-10-02 18:08:55 +02:00
swinterberger
c8e2f00876 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 18:08:05 +02:00
swinterberger
734b364817 Add websocket client response headers to completion handler. Clear them after handled
Signed-off-by: swinterberger <sean.winterberger@gmail.com>
2019-10-02 18:07:58 +02:00
Julien Viet
830f8b7981 Cannot remove server cookies without getting cookie list first - closes #3122 2019-10-02 16:46:44 +02:00
Dimitris Zenios
60854eaad8 Fixes #3119
Signed-off-by: zenios <dimitris.zenios@gmail.com>
2019-09-29 09:55:11 +02:00
Stéphane Épardaud
200329ec5e Fixed docs of Context.isOnEventLoopThread() (#3118)
Signed-off-by: Stephane Epardaud <stef@epardaud.fr>
2019-09-27 14:38:01 +02:00
Thomas Segismont
99901a095a 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:55:11 +02:00
Thomas Segismont
017abb9352 Fixed InboundBuffer Javadoc for write methods (#3114)
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-09-26 09:46:32 +02:00
Thomas Segismont
0681501088 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:44:41 +02:00
Thomas Segismont
7659154647 Fixed link in Json Pointers doc
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-09-24 16:51:22 +02:00
Julien Viet
fe557219eb Releasing 4.0.0-SNAPSHOT 2019-09-19 13:33:29 +02:00
Julien Viet
e5b64ee9b0 Releasing 4.0.0-milestone3 4.0.0-milestone3 2019-09-19 13:32:40 +02:00
Julien Viet
c62ca1e219 OSGi descriptor pruning - see #489 2019-09-16 17:57:36 +02:00
Julien Viet
ba5fd53583 SPI Factory cleanup - fixes #3109 2019-09-16 16:05:58 +02:00
Thomas Segismont
b1c91fd3b8 Relax TTL tests
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-09-16 15:18:03 +02:00
Julien Viet
34b4897bde We still need the JacksonFactory to avoid static initializer deadlocks 2019-09-16 13:27:34 +02:00
Julien Viet
cff896989f Add JacksonCodec static methods for decoding using Jackson's TypeReference literal 2019-09-16 11:37:34 +02:00
Julien Viet
7376bb2dd1 Simplify a bit code and add an IT test for custom JSON codec 2019-09-16 11:37:34 +02:00
Julien Viet
b54ae4b58a Make the ObjectMapper access exclusively using getters and make ObjectMapper final 2019-09-16 09:24:58 +02:00
Julien Viet
26bcdd6015 Rename the io.vertx.core.json.impl package to io.vertx.core.json.jackson 2019-09-16 09:13:56 +02:00
Julien Viet
c5f7a26220 Remove JsonMapper since now this is supported in codegen 2019-09-12 14:14:25 +02:00
Julien Viet
ea5b21e16a Make public JacksonCodec createParser methods 2019-09-09 12:38:48 +02:00
Julien Viet
b1a270dcc7 Make public JacksonCodec createParser methods 2019-09-09 12:37:59 +02:00
Julien Viet
91bf84dff4 Merge pull request #3100 from vietj/jackson-not-required-oob-master3
Vert.x should be able to run with another json parser/generator than Jackson - fixes #3102
2019-09-09 11:14:31 +02:00
Julien Viet
c59300aa8a Provide two implementations for JsonCodec with Jackson and now databind is declared as optional 2019-09-09 10:48:24 +02:00
Julien Viet
2026d54123 Introduce JsonFactory 2019-09-09 10:48:24 +02:00
Julien Viet
5faadb1552 Move jackson usage from Json to JacksonJsonFactory 2019-09-09 10:48:24 +02:00
Julien Viet
9c2a6accdf Rework JsonParserImpl to not depend anymore on jackson databind 2019-09-09 10:48:24 +02:00
Julien Viet
14293eda3e Don't require to use Jackson when json serialization is not used 2019-09-09 10:48:24 +02:00
Julien Viet
7793a674fd Rename test classes from Codec to Mapper 2019-09-05 22:37:32 +02:00
Julien Viet
6f8d935ea6 Rename to JsonMapper / JsonSerializer / JsonDeserializer 2019-09-05 15:49:20 +02:00
qxo
8a31a0a6aa 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:12 +02:00
Julien Viet
71104acbe1 Releasing 4.0.0-SNAPSHOT 2019-08-26 13:41:12 +02:00
Julien Viet
e87daea97a Releasing 4.0.0-milestone2 4.0.0-milestone2 2019-08-26 11:49:26 +02:00
Julien Viet
94095fc252 Minor doc improvement 2019-08-23 16:51:58 +02:00
Julien Viet
772a1af301 Incorrect @Repeat test annotation removal 2019-08-23 16:35:39 +02:00
Julien Viet
d4ecd87317 HTTP/1.1 connection state might be corrupted when processing pipelined requests - closes #3082 2019-08-23 16:30:44 +02:00
Julien Viet
588a2bdbf1 Initialize LoggerFactory#delegateFactory with JUL instance without reflection to ensure AOT compiler will include the class 2019-08-22 14:59:01 +02:00
Julien Viet
27c3a13596 Proper handling of host names ending with a dot in client connections - closes #3080 2019-08-21 12:02:48 +02:00
Steven Aerts
692ffc02a8 Fix #3077 call endHandler for HttpServerResponse without keepalive (#3078)
Signed-off-by: Steven Aerts <steven.aerts@gmail.com>
2019-08-21 09:37:44 +02:00
Thomas Segismont
554c467ddc RecordParser delimited parsing does not read the last file line (#2969)
* RecordParser delimited parsing does not read the last file line

Fixes #2967

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

* Test RecordParser does not trigger parsing while emitting

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-08-21 09:34:41 +02:00
Julien Viet
2630cf4a91 JsonParser does not consume properly the stream demand - closes #3076 2019-08-20 08:14:23 +02:00
Julien Viet
76f9d0b101 Improve FakeStream and fix a couple of issues 2019-08-19 16:59:25 +02:00
Julien Viet
1e9b90ddd1 Failing test 2019-08-19 16:35:48 +02:00
Julien Viet
14effa3691 NPE when undeploying several instances of the same verticle that share the same isolationGroup - closes #3074 2019-08-19 12:24:35 +02:00
Julien Viet
f13add9017 Async undeploy won't report exception by the verticle with promise complete - closes #3075 2019-08-19 12:23:29 +02:00
Julien Viet
d7fb03b01f Netty upgrade to 4.1.39.Final - see https://github.com/vert-x3/issues/issues/486 2019-08-17 14:46:58 +02:00
Thomas Segismont
92c61cfc56 Move WriteHandlerLookupFailureTest to its own class (#3066)
It shouldn't be part of the clustered event bus test suite.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
2019-08-14 10:31:13 +02:00