Class BearerTokenError
java.lang.Object
org.springframework.security.oauth2.core.OAuth2Error
org.springframework.security.oauth2.server.resource.BearerTokenError
- All Implemented Interfaces:
- Serializable
A representation of a
 Bearer Token
 Error.
- 
Constructor SummaryConstructorsConstructorDescriptionBearerTokenError(String errorCode, org.springframework.http.HttpStatus httpStatus, String description, String errorUri) Create aBearerTokenErrorusing the provided parametersBearerTokenError(String errorCode, org.springframework.http.HttpStatus httpStatus, String description, String errorUri, String scope) Create aBearerTokenErrorusing the provided parameters
- 
Method SummaryModifier and TypeMethodDescriptionorg.springframework.http.HttpStatusReturn the HTTP status.getScope()Return the scope.Methods inherited from class org.springframework.security.oauth2.core.OAuth2ErrorgetDescription, getErrorCode, getUri, toString
- 
Constructor Details- 
BearerTokenErrorpublic BearerTokenError(String errorCode, org.springframework.http.HttpStatus httpStatus, String description, String errorUri) Create aBearerTokenErrorusing the provided parameters- Parameters:
- errorCode- the error code
- httpStatus- the HTTP status
 
- 
BearerTokenErrorpublic BearerTokenError(String errorCode, org.springframework.http.HttpStatus httpStatus, String description, String errorUri, String scope) Create aBearerTokenErrorusing the provided parameters- Parameters:
- errorCode- the error code
- httpStatus- the HTTP status
- description- the description
- errorUri- the URI
- scope- the scope
 
 
- 
- 
Method Details- 
getHttpStatuspublic org.springframework.http.HttpStatus getHttpStatus()Return the HTTP status.- Returns:
- the HTTP status
 
- 
getScopeReturn the scope.- Returns:
- the scope
 
 
-