Class ErrorHandler

java.lang.Object
com.okta.sdk.error.ErrorHandler
All Implemented Interfaces:
org.springframework.web.client.ResponseErrorHandler

public class ErrorHandler extends Object implements org.springframework.web.client.ResponseErrorHandler
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleError(org.springframework.http.client.ClientHttpResponse httpResponse)
     
    boolean
    hasError(org.springframework.http.client.ClientHttpResponse httpResponse)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.client.ResponseErrorHandler

    handleError
  • Constructor Details

    • ErrorHandler

      public ErrorHandler()
  • Method Details

    • hasError

      public boolean hasError(org.springframework.http.client.ClientHttpResponse httpResponse) throws IOException
      Specified by:
      hasError in interface org.springframework.web.client.ResponseErrorHandler
      Throws:
      IOException
    • handleError

      public void handleError(org.springframework.http.client.ClientHttpResponse httpResponse) throws IOException, ResourceException
      Specified by:
      handleError in interface org.springframework.web.client.ResponseErrorHandler
      Throws:
      IOException
      ResourceException