Package io.quarkus.vertx.http
Interface HttpServer
public interface HttpServer
Represent the actual runtime values of the Quarkus HTTP Server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.quarkus.registry.ValueRegistry.RuntimeKey<Integer> static final io.quarkus.registry.ValueRegistry.RuntimeKey<HttpServer> 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.RuntimeInfo<HttpServer> TheValueRegistry.RuntimeInfoimplementation forHttpServer.static final io.quarkus.registry.ValueRegistry.RuntimeKey<URI> static final io.quarkus.registry.ValueRegistry.RuntimeKey<Integer> static final io.quarkus.registry.ValueRegistry.RuntimeKey<Integer> -
Method Summary
Modifier and TypeMethodDescriptionReturn the local base URI that Quarkus is serving on.intReturn the management http port that Quarkus is listening on.intgetPort()Return the http port that Quarkus is listening on.intReturn the https port that Quarkus is listening on.
-
Field Details
-
HTTP_PORT
-
HTTP_TEST_PORT
-
HTTPS_PORT
-
HTTPS_TEST_PORT
-
MANAGEMENT_PORT
-
MANAGEMENT_TEST_PORT
-
LOCAL_BASE_URI
-
HTTP_SERVER
-
INFO
TheValueRegistry.RuntimeInfoimplementation forHttpServer. Construct instances ofHttpServerwithValueRegistryvalues.
-
-
Method Details
-
getPort
int getPort()Return the http port that Quarkus is listening on.- Returns:
- the port or
-1if Quarkus is not set to listen to the http port.
-
getSecurePort
int getSecurePort()Return the https port that Quarkus is listening on.- Returns:
- the port or
-1if Quarkus is not set to listen to the https port.
-
getManagementPort
int getManagementPort()Return the management http port that Quarkus is listening on.- Returns:
- the port or
-1if Quarkus is not set to listen to the management http port.
-
getLocalBaseUri
URI getLocalBaseUri()Return the local base URI that Quarkus is serving on.- Returns:
- the local base URI that Quarkus is serving on.
-