Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8191908

Support dynamic redirection policies

    XMLWordPrintable

Details

    Description

      This issue is being filed to track one of the four suggestions made in JDK-8184279.

      - Redirect: Why is this an enum? This seems to needlessly restrict extensibility of
        the API: For example, (as opposed to Effective Java 1st Edition’s type safe enum
        pattern), it makes it impossible to ever define redirect policies at runtime (e.g.
        based on a list of trusted hosts) because the set of instances is fixed at compile time,

      Attachments

        Issue Links

          Activity

            People

              chegar Chris Hegarty
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: