Package io.jans.scim.model.scim2
Class ErrorResponse
- java.lang.Object
-
- io.jans.scim.model.scim2.ErrorResponse
-
- All Implemented Interfaces:
Serializable
public class ErrorResponse extends Object implements Serializable
A class that models data of an error response. See section 3.12 of RFC7644.- Author:
- Val Pecaoco
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDetail()
Retrieves a description of the errorList<String>
getSchemas()
String
getScimType()
Retrieves the error type.String
getStatus()
Retrieves the HTTP status code of the error.void
setDetail(String detail)
void
setSchemas(List<String> schemas)
void
setScimType(ErrorScimType scimType)
void
setStatus(String status)
-
-
-
Method Detail
-
getStatus
public String getStatus()
Retrieves the HTTP status code of the error. E.g. "500"- Returns:
- A string value
-
setStatus
public void setStatus(String status)
-
getScimType
public String getScimType()
Retrieves the error type. E.g. "invalidFilter"- Returns:
- A string value
-
setScimType
public void setScimType(ErrorScimType scimType)
-
getDetail
public String getDetail()
Retrieves a description of the error- Returns:
- A string value
-
setDetail
public void setDetail(String detail)
-
-