Uses of Enum
com.dlsc.gemsfx.util.HttpStatusCode
Packages that use HttpStatusCode
-
Uses of HttpStatusCode in com.dlsc.gemsfx.util
Methods in com.dlsc.gemsfx.util that return HttpStatusCodeModifier 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.Methods in com.dlsc.gemsfx.util with parameters of type HttpStatusCodeModifier 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.