Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert to data object a few types that are not asynchronous #5354

Merged
merged 1 commit into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading