[jboss-jira] [JBoss JIRA] (ELY-519) Update getRequestURI method to return a URI instance.
Darran Lofthouse (JIRA)
issues at jboss.org
Tue May 3 07:30:00 EDT 2016
[ https://issues.jboss.org/browse/ELY-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darran Lofthouse updated ELY-519:
---------------------------------
Description:
Comparing the Javadoc with the current Undertow integration a String is constructed which concatenates all the parts together, the javdoc says without the query string but the implementation add it - if a mechanism only wants a part of the URI the String will need to be parsed and then the appropriate part extracted.
Provided the server makes the individual parts available a URI can always be constructed so simplify our API by having a single method that returns the URI and allow mechanisms to call it directly to extract the required parts.
was:Mechanisms such as HTTP Form authentication require this so they can capture the original request and redirect after authentication.
> Update getRequestURI method to return a URI instance.
> -----------------------------------------------------
>
> Key: ELY-519
> URL: https://issues.jboss.org/browse/ELY-519
> Project: WildFly Elytron
> Issue Type: Feature Request
> Components: HTTP
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Fix For: 1.1.0.Beta6
>
>
> Comparing the Javadoc with the current Undertow integration a String is constructed which concatenates all the parts together, the javdoc says without the query string but the implementation add it - if a mechanism only wants a part of the URI the String will need to be parsed and then the appropriate part extracted.
> Provided the server makes the individual parts available a URI can always be constructed so simplify our API by having a single method that returns the URI and allow mechanisms to call it directly to extract the required parts.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list