Package io.quarkus.vertx.http
Record Class DomainSocketServerStart
java.lang.Object
java.lang.Record
io.quarkus.vertx.http.DomainSocketServerStart
Quarkus fires a CDI event of this type asynchronously when the Unix Domain Socket server starts listening
on the configured socket path.
@ApplicationScoped
public class MyListener {
void domainSocketStarted(@ObservesAsync DomainSocketServerStart start) {
// ...notified when the Unix Domain Socket server starts listening
}
}
-
Constructor Summary
ConstructorsConstructorDescriptionDomainSocketServerStart(io.vertx.core.http.HttpServerConfig config) Creates an instance of aDomainSocketServerStartrecord class. -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.http.HttpServerConfigconfig()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DomainSocketServerStart
public DomainSocketServerStart(io.vertx.core.http.HttpServerConfig config) Creates an instance of aDomainSocketServerStartrecord class.- Parameters:
config- the value for theconfigrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
config
public io.vertx.core.http.HttpServerConfig config()Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-