Class RedirectionLoopException

All Implemented Interfaces:
Serializable

public final class RedirectionLoopException extends RedirectionException
An Exception that's thrown when a redirection loop has been detected.
See Also:
  • Constructor Details

    • RedirectionLoopException

      public RedirectionLoopException(HttpStatus statusCode, URI redirectingLocation, URI newLocation)
      Create a new redirection loop exception for the given status, source and destination.
      Parameters:
      statusCode - The HttpStatus of the redirect.
      redirectingLocation - The source of the redirect.
      newLocation - The destination of the redirect.