Rename contextRoot and contextPath in configuration names
---------------------------------------------------------
Key: ARQGRA-31
URL:
https://issues.jboss.org/browse/ARQGRA-31
Project: Arquillian Graphene
Issue Type: Enhancement
Components: api
Reporter: Karel Piwko
Assignee: Lukáš Fryč
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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: