public class DefaultOAuth2ExceptionRenderer extends Object implements OAuth2ExceptionRenderer
OAuth2ExceptionRenderer that can render the exceptions using message converters
 (just like regular Spring MVC endpoints). If the caller sends an appropriate Accept header he should get the right
 result as long as an appropriate message converter is provided.| Constructor and Description | 
|---|
| DefaultOAuth2ExceptionRenderer() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | handleHttpEntityResponse(org.springframework.http.HttpEntity<?> responseEntity,
                        ServletWebRequest webRequest) | 
| void | setMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters) | 
public void setMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters)
public void handleHttpEntityResponse(org.springframework.http.HttpEntity<?> responseEntity,
                            ServletWebRequest webRequest)
                              throws Exception
handleHttpEntityResponse in interface OAuth2ExceptionRendererExceptionCopyright © 2019. All rights reserved.