Package 

Class JSONKtorClientException

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONKtorClientException(String urlString, HttpStatusCode statusCode, Headers responseHeaders, ByteArray responseBody, JSONConfig config)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getUrlString()
      final HttpStatusCode getStatusCode()
      final Headers getResponseHeaders()
      final ByteArray getResponseBody()
      final JSONConfig getConfig()
      final <T extends Any> T body() Get the response body as an object of the implied type.
      final <T extends Any> T body(KType type) Get the response body as an object of the specified KType.
      final String bodyAsString() Get the response body as a string.
      • Methods inherited from class kotlin.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class io.kjson.JSONException

        getMessage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait