Skip to content

Commit

Permalink
Convert to data object these types: MultiMap, DatagramPacket, MxRecor…
Browse files Browse the repository at this point in the history
…d, SrvRecord, FilePropos, FileSystemProps, Cookie, HttpFrame, WebSocketFrame, JsonEvent, SelfSignedCertificate
  • Loading branch information
vietj committed Oct 13, 2024
1 parent 4c9d707 commit f7e0171
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 18 deletions.
7 changes: 2 additions & 5 deletions vertx-core/src/main/java/io/vertx/core/MultiMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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>> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

/**
Expand Down
4 changes: 2 additions & 2 deletions vertx-core/src/main/java/io/vertx/core/dns/MxRecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

/**
Expand Down
4 changes: 2 additions & 2 deletions vertx-core/src/main/java/io/vertx/core/dns/SrvRecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

/**
Expand Down
3 changes: 2 additions & 1 deletion vertx-core/src/main/java/io/vertx/core/file/FileProps.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

package io.vertx.core.file;

import io.vertx.codegen.annotations.DataObject;
import io.vertx.codegen.annotations.VertxGen;

/**
Expand All @@ -19,7 +20,7 @@
*
* @author <a href="http://tfox.org">Tim Fox</a>
*/
@VertxGen
@DataObject
public interface FileProps {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

package io.vertx.core.file;

import io.vertx.codegen.annotations.DataObject;
import io.vertx.codegen.annotations.VertxGen;

/**
Expand All @@ -19,7 +20,7 @@
*
* @author <a href="http://tfox.org">Tim Fox</a>
*/
@VertxGen
@DataObject
public interface FileSystemProps {

/**
Expand Down
3 changes: 2 additions & 1 deletion vertx-core/src/main/java/io/vertx/core/http/Cookie.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

package io.vertx.core.http;

import io.vertx.codegen.annotations.DataObject;
import io.vertx.codegen.annotations.Fluent;
import io.vertx.codegen.annotations.Nullable;
import io.vertx.codegen.annotations.VertxGen;
Expand All @@ -21,7 +22,7 @@
* <p>
* All cookies must have a name and a value and can optionally have other fields set such as path, domain, etc.
*/
@VertxGen
@DataObject
public interface Cookie {

/**
Expand Down
3 changes: 2 additions & 1 deletion vertx-core/src/main/java/io/vertx/core/http/HttpFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -20,7 +21,7 @@
*
* @author <a href="mailto:[email protected]">Julien Viet</a>
*/
@VertxGen
@DataObject
public interface HttpFrame {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
import io.vertx.core.http.impl.ws.WebSocketFrameImpl;
Expand All @@ -31,7 +32,7 @@
* @author <a href="http://tfox.org">Tim Fox</a>
* @version $Rev: 2080 $, $Date: 2010-01-26 18:04:19 +0900 (Tue, 26 Jan 2010) $
*/
@VertxGen
@DataObject
public interface WebSocketFrame {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

package io.vertx.core.net;

import io.vertx.codegen.annotations.DataObject;
import io.vertx.codegen.annotations.VertxGen;
import io.vertx.core.net.impl.SelfSignedCertificateImpl;

Expand All @@ -21,7 +22,7 @@
*
* @author <a href="https://julien.ponge.org/">Julien Ponge</a>
*/
@VertxGen
@DataObject
public interface SelfSignedCertificate {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -25,7 +26,7 @@
*
* @author <a href="mailto:[email protected]">Julien Viet</a>
*/
@VertxGen
@DataObject
public interface JsonEvent {

/**
Expand Down

0 comments on commit f7e0171

Please sign in to comment.