Package io.quarkus.test.common
Class RestAssuredStateManager
java.lang.Object
io.quarkus.test.common.RestAssuredStateManager
Utility class that sets the rest assured port to the default test port and meaningful timeouts.
This class works whether RestAssured is on the classpath or not - if it is not, invoking the methods of the class are essentially NO-OPs
TODO: do we actually want this here, or should it be in a different module?
-
Method Summary
Modifier and TypeMethodDescriptionstatic void(package private) static voidclearURL()Deprecated, for removal: This API element is subject to removal in a future version.static voidsetTestUri(URI baseUri) static voidsetTestUri(URI baseUri, String additionalPath) static voidsetURL(boolean useSecureConnection) Deprecated, for removal: This API element is subject to removal in a future version.static voidDeprecated, for removal: This API element is subject to removal in a future version.static voidDeprecated, for removal: This API element is subject to removal in a future version.static voidDeprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
setURL
Deprecated, for removal: This API element is subject to removal in a future version. -
setURL
@Deprecated(forRemoval=true, since="3.36") public static void setURL(boolean useSecureConnection, String additionalPath) Deprecated, for removal: This API element is subject to removal in a future version. -
setURL
@Deprecated(forRemoval=true, since="3.36") public static void setURL(boolean useSecureConnection, Integer port) Deprecated, for removal: This API element is subject to removal in a future version. -
setURL
@Deprecated(forRemoval=true, since="3.36") public static void setURL(boolean useSecureConnection, Integer port, String additionalPath) Deprecated, for removal: This API element is subject to removal in a future version. -
setTestUri
-
setTestUri
-
clearState
public static void clearState() -
clearURL
Deprecated, for removal: This API element is subject to removal in a future version.most probably, you want to callclearState(). If it's not the case, please let us know so that we can reconsider the deprecation. Note: when removing, please move the code toclearState().
-
clearState().