Class SimpleHttpClient.Response

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

@Deprecated(since="6.3.1", forRemoval=true) public static class SimpleHttpClient.Response extends Object implements AutoCloseable
Deprecated, for removal: This API element is subject to removal in a future version.
There is no replacement, as for SimpleHttpClient. Removed in 6.4.0.
Status and body of one exchange.
Scheduled removal version:
6.4.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    private final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Response(int status, String body)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • status

      private final int status
      Deprecated, for removal: This API element is subject to removal in a future version.
    • body

      private final String body
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • Response

      public Response(int status, String body)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getStatus

      public int getStatus()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getBody

      public String getBody()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isOk

      public boolean isOk()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • body

      public String body()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • close

      public void close()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      close in interface AutoCloseable