Package io. kvision. jquery. rest
Types
Bad Gateway
Link copied to clipboard
class BadGateway(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Bad Request
Link copied to clipboard
class BadRequest(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Forbidden
Link copied to clipboard
class Forbidden(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Http Method
Link copied to clipboard
Legacy Rest Client
Link copied to clipboard
An agent responsible for remote calls.
Not Allowed
Link copied to clipboard
class NotAllowed(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Not Found
Link copied to clipboard
class NotFound(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Not Implemented
Link copied to clipboard
class NotImplemented(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Remote Request Exception
Link copied to clipboard
open class RemoteRequestException(code: Short, url: String, method: HttpMethod, message: String) : Exception
Content copied to clipboard
Server Error
Link copied to clipboard
class ServerError(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Service Unavailable
Link copied to clipboard
class ServiceUnavailable(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Unauthorized
Link copied to clipboard
class Unauthorized(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
XHRError
Link copied to clipboard
class XHRError(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Code 0 does not represent any http status, it represent XHR error (e.g. network error, CORS failure).
Properties
HTTP_BAD_GATEWAY
Link copied to clipboard
HTTP_BAD_REQUEST
Link copied to clipboard
HTTP_FORBIDDEN
Link copied to clipboard
HTTP_NOT_ALLOWED
Link copied to clipboard
HTTP_NOT_FOUND
Link copied to clipboard
HTTP_NOT_IMPLEMENTED
Link copied to clipboard
HTTP_SERVER_ERROR
Link copied to clipboard
HTTP_SERVICE_UNAVAILABLE
Link copied to clipboard
HTTP_UNAUTHORIZED
Link copied to clipboard