Uses of Enum
com.dlsc.gemsfx.util.HttpStatusCode
-
Uses of HttpStatusCode in com.dlsc.gemsfx.util
Modifier and TypeMethodDescriptionstatic HttpStatusCode
HttpStatusCode.fromStatusCode
(int statusCode) static HttpStatusCode
Returns the enum constant of this type with the specified name.static HttpStatusCode[]
HttpStatusCode.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionServiceInvocation.onStatusCode
(HttpStatusCode code, BiConsumer<String, String> onStatusCode) A consumer that will be invoked when the backend returns the given HTTP status code.ServiceInvocation.onStatusCodeDefault
(HttpStatusCode code, BiConsumer<String, String> onStatusCodeDefault) A default consumer that will be invoked when the backend returns the given HTTP status code.