-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert to data object these types: MultiMap, DatagramPacket, MxRecor…
…d, SrvRecord, FilePropos, FileSystemProps, Cookie, HttpFrame, WebSocketFrame, JsonEvent, SelfSignedCertificate
- Loading branch information
Showing
11 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,7 @@ | |
|
||
package io.vertx.core; | ||
|
||
import io.vertx.codegen.annotations.Fluent; | ||
import io.vertx.codegen.annotations.GenIgnore; | ||
import io.vertx.codegen.annotations.Nullable; | ||
import io.vertx.codegen.annotations.VertxGen; | ||
import io.vertx.codegen.annotations.*; | ||
import io.vertx.core.http.impl.headers.HeadersMultiMap; | ||
|
||
import java.util.ArrayList; | ||
|
@@ -34,7 +31,7 @@ | |
* @author <a href="mailto:[email protected]">Norman Maurer</a> | ||
* @author <a href="http://tfox.org">Tim Fox</a> | ||
*/ | ||
@VertxGen | ||
@DataObject | ||
public interface MultiMap extends Iterable<Map.Entry<String, String>> { | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,16 +11,16 @@ | |
|
||
package io.vertx.core.datagram; | ||
|
||
import io.vertx.codegen.annotations.DataObject; | ||
import io.vertx.core.buffer.Buffer; | ||
import io.vertx.codegen.annotations.VertxGen; | ||
import io.vertx.core.net.SocketAddress; | ||
|
||
/** | ||
* A received datagram packet (UDP) which contains the data and information about the sender of the data itself. | ||
* | ||
* @author <a href="mailto:[email protected]">Norman Maurer</a> | ||
*/ | ||
@VertxGen | ||
@DataObject | ||
public interface DatagramPacket { | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,14 +11,14 @@ | |
|
||
package io.vertx.core.dns; | ||
|
||
import io.vertx.codegen.annotations.VertxGen; | ||
import io.vertx.codegen.annotations.DataObject; | ||
|
||
/** | ||
* Represent a Mail-Exchange-Record (MX) which was resolved for a domain. | ||
* | ||
* @author <a href="mailto:[email protected]">Norman Maurer</a> | ||
*/ | ||
@VertxGen | ||
@DataObject | ||
public interface MxRecord { | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,15 +11,15 @@ | |
|
||
package io.vertx.core.dns; | ||
|
||
import io.vertx.codegen.annotations.DataObject; | ||
import io.vertx.codegen.annotations.Nullable; | ||
import io.vertx.codegen.annotations.VertxGen; | ||
|
||
/** | ||
* Represent a Service-Record (SRV) which was resolved for a domain. | ||
* | ||
* @author <a href="mailto:[email protected]">Norman Maurer</a> | ||
*/ | ||
@VertxGen | ||
@DataObject | ||
public interface SrvRecord { | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
package io.vertx.core.http; | ||
|
||
import io.vertx.codegen.annotations.CacheReturn; | ||
import io.vertx.codegen.annotations.DataObject; | ||
import io.vertx.codegen.annotations.VertxGen; | ||
import io.vertx.core.buffer.Buffer; | ||
|
||
|
@@ -20,7 +21,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Julien Viet</a> | ||
*/ | ||
@VertxGen | ||
@DataObject | ||
public interface HttpFrame { | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
package io.vertx.core.parsetools; | ||
|
||
import com.fasterxml.jackson.core.type.TypeReference; | ||
import io.vertx.codegen.annotations.DataObject; | ||
import io.vertx.codegen.annotations.GenIgnore; | ||
import io.vertx.codegen.annotations.VertxGen; | ||
import io.vertx.core.buffer.Buffer; | ||
|
@@ -25,7 +26,7 @@ | |
* | ||
* @author <a href="mailto:[email protected]">Julien Viet</a> | ||
*/ | ||
@VertxGen | ||
@DataObject | ||
public interface JsonEvent { | ||
|
||
/** | ||
|