Package org.keycloak.services
Class ErrorResponse
- java.lang.Object
-
- org.keycloak.services.ErrorResponse
-
public class ErrorResponse extends Object
- Author:
- Stian Thorgersen
-
-
Constructor Summary
Constructors Constructor Description ErrorResponse()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorResponseException
error(String message, Object[] params, javax.ws.rs.core.Response.Status status)
static ErrorResponseException
error(String message, javax.ws.rs.core.Response.Status status)
static ErrorResponseException
errors(List<ErrorRepresentation> s, javax.ws.rs.core.Response.Status status)
static ErrorResponseException
errors(List<ErrorRepresentation> s, javax.ws.rs.core.Response.Status status, boolean shrinkSingleError)
static ErrorResponseException
exists(String message)
-
-
-
Method Detail
-
exists
public static ErrorResponseException exists(String message)
-
error
public static ErrorResponseException error(String message, javax.ws.rs.core.Response.Status status)
-
error
public static ErrorResponseException error(String message, Object[] params, javax.ws.rs.core.Response.Status status)
-
errors
public static ErrorResponseException errors(List<ErrorRepresentation> s, javax.ws.rs.core.Response.Status status)
-
errors
public static ErrorResponseException errors(List<ErrorRepresentation> s, javax.ws.rs.core.Response.Status status, boolean shrinkSingleError)
-
-