Class SimpleHttpClient.Response

java.lang.Object
com.ultikits.ultitools.utils.SimpleHttpClient.Response
All Implemented Interfaces:
AutoCloseable
Enclosing class:
SimpleHttpClient

public static class SimpleHttpClient.Response extends Object implements AutoCloseable
  • Field Details

    • status

      private final int status
    • body

      private final String body
  • Constructor Details

    • Response

      public Response(int status, String body)
  • Method Details

    • getStatus

      public int getStatus()
    • getBody

      public String getBody()
    • isOk

      public boolean isOk()
    • body

      public String body()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable