public static Response noContent(final @Nullable String message) { return new Response.Builder().status(Status.success(NO_CONTENT, message)).build(); }
public static Response created(final Payload payload) { return new Response.Builder().status(Status.success(CREATED)).payload(payload).build(); }
public static Response ok(final Payload payload) { return new Response.Builder().status(Status.success(OK)).payload(payload).build(); }
public static Response created(final @Nullable String message) { return new Response.Builder().status(Status.success(CREATED, message)).build(); }
public static Response ok(final @Nullable String message) { return new Response.Builder().status(Status.success(OK, message)).build(); }