Interface IShouldRedirect


public interface IShouldRedirect
Indicates whether a specific response redirect information should be followed
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    shouldRedirect​(okhttp3.Response response)
    Determines whether to follow the redirect information
  • Method Details

    • shouldRedirect

      boolean shouldRedirect(@Nonnull okhttp3.Response response)
      Determines whether to follow the redirect information
      Parameters:
      response - current response
      Returns:
      whether the handler should follow the redirect information