Class DevModeClient

java.lang.Object
io.quarkus.test.devmode.util.DevModeClient

public class DevModeClient extends Object
  • Constructor Details

    • DevModeClient

      public DevModeClient()
    • DevModeClient

      public DevModeClient(int port)
  • Method Details

    • getDefaultTimeout

      static long getDefaultTimeout()
    • killDescendingProcesses

      public static List<ProcessHandle> killDescendingProcesses()
    • filter

      public static void filter(File input, Map<String,String> variables) throws IOException
      Throws:
      IOException
    • awaitUntilServerDown

      public void awaitUntilServerDown()
    • getHttpResponse

      public String getHttpResponse()
    • getHttpResponse

      public String getHttpResponse(Supplier<String> brokenReason)
    • getHttpErrorResponse

      public String getHttpErrorResponse()
    • getHttpErrorResponse

      public String getHttpErrorResponse(Supplier<String> brokenReason)
    • getHttpResponse

      public String getHttpResponse(String path)
    • getHttpResponse

      public String getHttpResponse(String path, Supplier<String> brokenReason)
    • getHttpResponse

      public String getHttpResponse(String path, boolean allowError)
    • getHttpResponse

      public String getHttpResponse(String path, boolean allowError, Supplier<String> brokenReason)
    • getHttpResponse

      public String getHttpResponse(String path, boolean allowError, Supplier<String> brokenReason, long timeout, TimeUnit tu)
    • getHttpResponse

      public boolean getHttpResponse(String path, int expectedStatus)
    • getHttpResponse

      public boolean getHttpResponse(String path, int expectedStatus, long timeout, TimeUnit tu)
    • getStrictHttpResponse

      public boolean getStrictHttpResponse(String path, int expectedStatus)
    • get

      public String get() throws IOException
      Throws:
      IOException
    • get

      public String get(String urlStr) throws IOException
      Throws:
      IOException
    • isCode

      public boolean isCode(String path, int code)