Package io.quarkus.test.common
Record Class ListeningAddress
java.lang.Object
java.lang.Record
io.quarkus.test.common.ListeningAddress
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.quarkus.registry.ValueRegistry.RuntimeKey<Integer> static final io.quarkus.registry.ValueRegistry.RuntimeKey<Integer> static final io.quarkus.registry.ValueRegistry.RuntimeKey<Integer> static final io.quarkus.registry.ValueRegistry.RuntimeKey<Integer> static final io.quarkus.registry.ValueRegistry.RuntimeKey<URI> -
Constructor Summary
ConstructorsConstructorDescriptionListeningAddress(Integer port, String protocol) Creates an instance of aListeningAddressrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisSsl()port()Returns the value of theportrecord component.protocol()Returns the value of theprotocolrecord component.voidregister(io.quarkus.registry.ValueRegistry valueRegistry, io.smallrye.config.SmallRyeConfig config) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
HTTP_PORT
-
HTTP_TEST_PORT
-
HTTPS_PORT
-
HTTPS_TEST_PORT
-
LOCAL_BASE_URI
-
-
Constructor Details
-
ListeningAddress
Creates an instance of aListeningAddressrecord class.- Parameters:
port- the value for theportrecord componentprotocol- the value for theprotocolrecord component
-
-
Method Details
-
isSsl
public boolean isSsl() -
register
public void register(io.quarkus.registry.ValueRegistry valueRegistry, io.smallrye.config.SmallRyeConfig config) -
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). -
port
Returns the value of theportrecord component.- Returns:
- the value of the
portrecord component
-
protocol
Returns the value of theprotocolrecord component.- Returns:
- the value of the
protocolrecord component
-