Responses

public final class Responses

Utilities for working with Response objects.

Functions

Link copied to clipboard
public static boolean isOk(Response response)
Checks if the response is OK.
Link copied to clipboard
public static Response ok()
Returns the instance of OK Response.
Link copied to clipboard
public static Status statusOk()
Returns the OKStatus instance.