public class ErrorResponse extends Object
Constructor and Description |
---|
ErrorResponse() |
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response |
error(String message,
Object[] params,
javax.ws.rs.core.Response.Status status) |
static javax.ws.rs.core.Response |
error(String message,
javax.ws.rs.core.Response.Status status) |
static javax.ws.rs.core.Response |
errors(List<ErrorRepresentation> s,
javax.ws.rs.core.Response.Status status) |
static javax.ws.rs.core.Response |
exists(String message) |
public static javax.ws.rs.core.Response exists(String message)
public static javax.ws.rs.core.Response error(String message, javax.ws.rs.core.Response.Status status)
public static javax.ws.rs.core.Response error(String message, Object[] params, javax.ws.rs.core.Response.Status status)
public static javax.ws.rs.core.Response errors(List<ErrorRepresentation> s, javax.ws.rs.core.Response.Status status)
Copyright © 2021 JBoss by Red Hat. All rights reserved.