Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-569

Create new value in org.apache.hc.core5.http.protocol.UriPatternType to lookup without an exact match override

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0-beta7
    • HttpCore
    • None

    Description

      Create new value in org.apache.hc.core5.http.protocol.UriPatternType to lookup values without an exact match override: This allows path matches without having an exact match override the order in which the patterns are defined (which is the current behavior.)

      This is a request from some of my users at work, they just want to a list of URI patterns in a specific order which is observed no matter what. Very handy for testing.

      The implementation would refactor UriPatternMatcher to allow a boolean to be passed in.

      I created branch HTTPCORE-569 with a proposal.

      You use this by calling org.apache.hc.core5.http.impl.bootstrap.AsyncServerBootstrap.setUriPatternType(UriPatternType).

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            ggregory Gary D. Gregory
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: