|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sap.ip.me.api.services.URLFormatter
This class provides methods that support the prevention of browser caching.
Constructor Summary | |
URLFormatter()
|
Method Summary | |
static java.lang.String |
getUniqueMIHomeURL()
Returns a unique absolute URL string that represents a link to the Mobile Engine homepage. |
static java.lang.String |
getUniqueURL(java.lang.String relativeURL)
Returns an unique absolute URL string that is created on base of a given relative URL string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public URLFormatter()
Method Detail |
public static java.lang.String getUniqueMIHomeURL()
public static java.lang.String getUniqueURL(java.lang.String relativeURL)
Examples:
Given relative URL string | Returned unique URL |
---|---|
/test/xyz.html | http://localhost:4444/test/xyz.html?1064413138617 |
xyz.html?param=value& | http://127.0.0.1:4444/xyz.html?param=value&1064413138617& |
test/appl/xyz.html?p=v#ref | http://localhost:3333/test/app/xyz.html?p=v&1064413138617#ref |
If the empty string or null
is given as input value then the
empty string is returned. The given relative URL string is not validated for
syntactical correctness.
relativeURL
- A relative URL string that has to be made unique.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |