[arquillian-issues] [JBoss JIRA] Updated: (ARQAJO-30) Rename URL object names in configuration names, modify URLUtils accordingly

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Mon May 9 12:11:18 EDT 2011


     [ https://issues.jboss.org/browse/ARQAJO-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukáš Fryč updated ARQAJO-30:
-----------------------------

    Fix Version/s: 1.0.0.Alpha3


> Rename URL object names in configuration names, modify URLUtils accordingly
> ---------------------------------------------------------------------------
>
>                 Key: ARQAJO-30
>                 URL: https://issues.jboss.org/browse/ARQAJO-30
>             Project: Arquillian Ajocado
>          Issue Type: Enhancement
>          Components: api
>            Reporter: Karel Piwko
>            Assignee: Lukáš Fryč
>             Fix For: 1.0.0.Alpha3
>
>
> I find current URL object names (contextRoot and contextPath) a bit misleading.
> 1/ contextRoot and contextPath have same meaning as web application path, that is a part after authority's slash (/)  and before next slash
> e.g. for http://localhost:8080/foo/bar the contextPath and contextRoot is either /foo (contextPath), foo(context-root)
> in current version contextRoot = http://localhost:8080, contextPath = http://localhost:8080/foo
> With URLUtils it is not possible to create a path such as http://localhost:8080/foo/ , because new URL(context, spec) called as new URL(contextPath, "/") according to RFC3296 returns http://localhost:8080
> However, if contextPath was a string, it could be called as URLUtils(contextRoot, contextPath, "/"), not sure about slash between contextRoot and contextPath though.
> My suggestions:
> baseURL (http://localhost:8080/) - URL
> contextPath/contextRoot(/foo) - String
> fullURL (http://localhost:8080/foo) - URL

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list