Package com.google.api.gax.httpjson
Class HttpJsonStatusCode
java.lang.Object
com.google.api.gax.httpjson.HttpJsonStatusCode
- All Implemented Interfaces:
StatusCode
A failure code specific to an HTTP call.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.api.gax.rpc.StatusCode
StatusCode.Code -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCode()Returns the status code from the http call.inthashCode()static HttpJsonStatusCodeof(int httpStatus) Creates a new instance with the given status code.static HttpJsonStatusCodeof(StatusCode.Code statusCode) static HttpJsonStatusCodetoString()
-
Method Details
-
of
Creates a new instance with the given status code. -
of
-
of
-
getCode
- Specified by:
getCodein interfaceStatusCode
-
getTransportCode
Returns the status code from the http call.- Specified by:
getTransportCodein interfaceStatusCode
-
equals
-
hashCode
public int hashCode() -
toString
-