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