Package io. kvision. jquery. rest
Legacy, jquery-based RESTful API client with support for type-safe connectivity.
Types
Link copied to clipboard
class BadGateway(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class BadRequest(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class Forbidden(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
An agent responsible for remote calls.
Link copied to clipboard
class NotAllowed(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class NotFound(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class NotImplemented(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
open class RemoteRequestException(code: Short, url: String, method: HttpMethod, message: String)
Content copied to clipboard
Link copied to clipboard
class ServerError(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class ServiceUnavailable(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
Link copied to clipboard
class Unauthorized(url: String, method: HttpMethod, message: String) : RemoteRequestException
Content copied to clipboard
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).