Aliucord
2.0.1
androidJvm
Aliucord
/
com.aliucord
/
Http
/
HttpException
Http
Exception
open
class
HttpException
:
IOException
Members
Constructors
Http
Exception
Link copied to clipboard
constructor
(
req
:
Http.Request
,
res
:
Http.Response
)
Creates a new HttpException for the specified Request and Response
Functions
add
Suppressed
Link copied to clipboard
fun
addSuppressed
(
exception
:
Throwable
)
fill
In
Stack
Trace
Link copied to clipboard
open
fun
fillInStackTrace
(
)
:
Throwable
get
Cause
Link copied to clipboard
open
fun
getCause
(
)
:
Throwable
get
Localized
Message
Link copied to clipboard
open
fun
getLocalizedMessage
(
)
:
String
get
Message
Link copied to clipboard
open
fun
getMessage
(
)
:
String
get
Stack
Trace
Link copied to clipboard
open
fun
getStackTrace
(
)
:
Array
<
StackTraceElement
>
get
Suppressed
Link copied to clipboard
fun
getSuppressed
(
)
:
Array
<
Throwable
>
init
Cause
Link copied to clipboard
open
fun
initCause
(
cause
:
Throwable
)
:
Throwable
print
Stack
Trace
Link copied to clipboard
open
fun
printStackTrace
(
)
set
Stack
Trace
Link copied to clipboard
open
fun
setStackTrace
(
stackTrace
:
Array
<
StackTraceElement
>
)
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String
Properties
message
Link copied to clipboard
@get:
NonNull
open
val
message
:
String
method
Link copied to clipboard
val
method
:
String
The HTTP method of this request
req
Link copied to clipboard
val
req
:
Http.Request
The raw Request object
res
Link copied to clipboard
val
res
:
Http.Response
The raw Response object
status
Code
Link copied to clipboard
val
statusCode
:
Int
The status code of the response
status
Message
Link copied to clipboard
val
statusMessage
:
String
The status message of the response
url
Link copied to clipboard
val
url
:
URL
The url of this request