|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.utils.BambooUrl
public class BambooUrl
Encapsulates creation of redirect URLs
Constructor Summary | |
---|---|
BambooUrl(AdministrationConfiguration administrationConfiguration)
|
Method Summary | |
---|---|
static java.lang.String |
getCurrentPathAndQuery()
|
java.lang.String |
withBaseUrlFromConfiguration()
This URL should be used for storage or when a user other than the current one will use it. |
java.lang.String |
withBaseUrlFromConfiguration(java.lang.String path)
This URL should be used for storage or when a user other than the current one will use it. |
java.lang.String |
withBaseUrlFromRequest()
This URL should be used when redirecting to Bamboo instance from external applications within the same user session. |
java.lang.String |
withBaseUrlFromRequest(java.lang.String path)
This URL should be used when redirecting to Bamboo instance from external applications within the same user session. |
java.lang.String |
withRelativeUrl()
This URL should be used when redirecting internally within Bamboo instance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BambooUrl(AdministrationConfiguration administrationConfiguration)
Method Detail |
---|
public java.lang.String withBaseUrlFromConfiguration()
@NotNull public java.lang.String withBaseUrlFromConfiguration(@NotNull java.lang.String path)
@NotNull public java.lang.String withRelativeUrl()
@NotNull public java.lang.String withBaseUrlFromRequest()
@NotNull public java.lang.String withBaseUrlFromRequest(@NotNull java.lang.String path)
@NotNull public static java.lang.String getCurrentPathAndQuery()
java.lang.IllegalStateException
- if HttpServletRequest is not present
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |