Class OAuth2ExceptionRenderer

java.lang.Object
org.springframework.security.oauth2.provider.error.DefaultOAuth2ExceptionRenderer
de.hybris.platform.webservicescommons.oauth2.OAuth2ExceptionRenderer
All Implemented Interfaces:
org.springframework.security.oauth2.provider.error.OAuth2ExceptionRenderer

public class OAuth2ExceptionRenderer extends org.springframework.security.oauth2.provider.error.DefaultOAuth2ExceptionRenderer
OAuth2ExceptionRenderer converts ResponseEntity to ResponseEntity
  • Constructor Details

    • OAuth2ExceptionRenderer

      public OAuth2ExceptionRenderer()
  • Method Details

    • handleHttpEntityResponse

      public void handleHttpEntityResponse(org.springframework.http.HttpEntity<?> responseEntity, org.springframework.web.context.request.ServletWebRequest webRequest) throws Exception
      Specified by:
      handleHttpEntityResponse in interface org.springframework.security.oauth2.provider.error.OAuth2ExceptionRenderer
      Overrides:
      handleHttpEntityResponse in class org.springframework.security.oauth2.provider.error.DefaultOAuth2ExceptionRenderer
      Throws:
      Exception
    • setExceptionConverter

      public void setExceptionConverter(AbstractErrorConverter exceptionConverter)