|
Arquillian Warp Extension: Implementation 1.0.0.Alpha1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.warp.utils.URLUtils
public final class URLUtils
Provides URL manipulations and functionality.
| Method Summary | |
|---|---|
static URL |
buildUrl(String context,
String... relocations)
Use URL context and one or more relocations to build end URL. |
static URL |
buildUrl(URL context,
String... relocations)
Use URL context and one or more relocations to build end URL. |
static URL |
changeBase(URL url,
URL base)
|
static URL |
getUrlBase(URL url)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static URL buildUrl(String context,
String... relocations)
context - first URL used like a context root for all relocation changesrelocations - array of relocation URLs
AssertionError - when context or some of relocations are malformed URLs
public static URL buildUrl(URL context,
String... relocations)
context - first URL used like a context root for all relocation changesrelocations - array of relocation URLs
AssertionError - when context or some of relocations are malformed URLspublic static URL getUrlBase(URL url)
public static URL changeBase(URL url,
URL base)
|
Arquillian Warp Extension: Implementation 1.0.0.Alpha1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||