Package io.quarkus.test.bootstrap
Class RestService
- java.lang.Object
-
- io.quarkus.test.bootstrap.BaseService<RestService>
-
- io.quarkus.test.bootstrap.RestService
-
- All Implemented Interfaces:
Service,org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
- Direct Known Subclasses:
DevModeQuarkusService
public class RestService extends BaseService<RestService>
-
-
Field Summary
-
Fields inherited from class io.quarkus.test.bootstrap.BaseService
context, DELETE_FOLDER_ON_EXIT, SERVICE_STARTUP_TIMEOUT, SERVICE_STARTUP_TIMEOUT_DEFAULT
-
-
Constructor Summary
Constructors Constructor Description RestService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.restassured.specification.RequestSpecificationgiven()io.restassured.specification.RequestSpecificationhttps()io.restassured.specification.RequestSpecificationmanagement()io.vertx.mutiny.ext.web.client.WebClientmutiny()io.vertx.mutiny.ext.web.client.WebClientmutiny(io.vertx.ext.web.client.WebClientOptions options)io.restassured.specification.RequestSpecificationrelaxedHttps()voidstart()Start the managed resource.-
Methods inherited from class io.quarkus.test.bootstrap.BaseService
close, getConfiguration, getDisplayName, getHost, getHost, getLogs, getName, getPort, getPort, getProperties, getProperty, getPropertyFromContext, getScenarioId, getServiceFolder, getURI, getURI, init, isAutoStart, isRunning, logs, onPostStart, onPreStart, register, restart, restartAndWaitUntilServiceIsStarted, setAutoStart, stop, withProperties, withProperty, withProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.test.bootstrap.Service
getProperty, validate
-
-
-
-
Method Detail
-
given
public io.restassured.specification.RequestSpecification given()
-
https
public io.restassured.specification.RequestSpecification https()
-
management
public io.restassured.specification.RequestSpecification management()
-
relaxedHttps
public io.restassured.specification.RequestSpecification relaxedHttps()
-
mutiny
public io.vertx.mutiny.ext.web.client.WebClient mutiny()
-
mutiny
public io.vertx.mutiny.ext.web.client.WebClient mutiny(io.vertx.ext.web.client.WebClientOptions options)
-
start
public void start()
Description copied from class:BaseServiceStart the managed resource. If the managed resource is running, it does nothing.- Specified by:
startin interfaceService- Overrides:
startin classBaseService<RestService>
-
-