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,GrpcService
public class RestService extends BaseService<RestService>
-
-
Field Summary
-
Fields inherited from class io.quarkus.test.bootstrap.BaseService
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()voidstart()Start the managed resource.-
Methods inherited from class io.quarkus.test.bootstrap.BaseService
getConfiguration, getHost, getHost, getLogs, getName, getPort, getPort, getProperties, getPropertyFromContext, getServiceFolder, init, isRunning, logs, onPostStart, onPreStart, register, restart, 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
close, getProperty, validate
-
-
-
-
Method Detail
-
given
public io.restassured.specification.RequestSpecification given()
-
https
public io.restassured.specification.RequestSpecification https()
-
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>
-
-