public interface IJetAPIResponse extends IAPIResponse
Modifier and Type | Method and Description |
---|---|
boolean |
isAccepted()
Is the response code 202
|
boolean |
isBadRequest()
Is the response code 400
|
boolean |
isCreated()
If the response code was 201
|
boolean |
isForbidden()
Is the response code 403
|
boolean |
isInternalServerError()
Is the response code 500
|
boolean |
isMethodNotAllowed()
Is the response code 405
|
boolean |
isNoContent()
Is the response code 203
|
boolean |
isNotFound()
Is the response code 404
|
boolean |
isOk()
If the response was successful
|
boolean |
isUnauthorized()
Is the response code 401
|
boolean |
isUnavailable()
Is the response code 503
|
getContentLength, getJsonObject, getProtocolVersion, getResponseCharsetName, getResponseContent, getStatusLine, headers, isFailure, isJson, isRequestFail, isServerFailure, isSuccess, setContent
boolean isAccepted()
boolean isBadRequest()
boolean isCreated()
boolean isForbidden()
boolean isInternalServerError()
boolean isMethodNotAllowed()
boolean isNoContent()
boolean isNotFound()
boolean isOk()
boolean isUnauthorized()
boolean isUnavailable()
Copyright © 2017. All rights reserved.