You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2019/02/06 20:41:00 UTC
[jira] [Updated] (HTTPCORE-569) Create new value in
org.apache.hc.core5.http.protocol.UriPatternType to lookup without an exact
match override
[ https://issues.apache.org/jira/browse/HTTPCORE-569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory updated HTTPCORE-569:
----------------------------------
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'll create a branch with a proposal.
You use this by calling {{org.apache.hc.core5.http.impl.bootstrap.AsyncServerBootstrap.setUriPatternType(UriPatternType)}}.
was:
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'll create a branch with a proposal.
> Create new value in org.apache.hc.core5.http.protocol.UriPatternType to lookup without an exact match override
> --------------------------------------------------------------------------------------------------------------
>
> Key: HTTPCORE-569
> URL: https://issues.apache.org/jira/browse/HTTPCORE-569
> Project: HttpComponents HttpCore
> Issue Type: New Feature
> Components: HttpCore
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Priority: Major
>
> 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'll create a branch with a proposal.
> You use this by calling {{org.apache.hc.core5.http.impl.bootstrap.AsyncServerBootstrap.setUriPatternType(UriPatternType)}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org