Class RestAssuredStateManager

java.lang.Object
io.quarkus.test.common.RestAssuredStateManager

public class RestAssuredStateManager extends Object
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 Details

    • setURL

      public static void setURL(boolean useSecureConnection)
    • setURL

      public static void setURL(boolean useSecureConnection, String additionalPath)
    • setURL

      public static void setURL(boolean useSecureConnection, Integer port)
    • setURL

      public static void setURL(boolean useSecureConnection, Integer port, String additionalPath)
    • clearState

      public static void clearState()
    • clearURL

      @Deprecated(forRemoval=true, since="3.31") static void clearURL()
      Deprecated, for removal: This API element is subject to removal in a future version.
      most probably, you want to call clearState(). If it's not the case, please let us know so that we can reconsider the deprecation. Note: when removing, please move the code to clearState().