|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.lyo.oslc4j.core.OSLC4JUtils
public class OSLC4JUtils
Constructor Summary | |
---|---|
OSLC4JUtils()
|
Method Summary | |
---|---|
static String |
getPublicURI()
Returns the value of org.eclipse.lyo.oslc4j.publicURI or null if not set. |
static boolean |
isHostResolutionDisabled()
Returns the boolean value of org.eclipse.lyo.oslc4j.disableHostResolution Default is false if not set or invalid (hostname resolution will take place) |
static String |
resolveURI(javax.servlet.http.HttpServletRequest request,
boolean includePath)
Resolve a URI (usually a resource subject or info URI) based on the settings of org.eclipse.lyo.oslc4j.publicURI and org.eclipse.lyo.oslc4j.disableHostResolution. |
static void |
setHostResolutionDisabled(boolean hostResDisabled)
|
static void |
setPublicURI(String newPublicURI)
Sets the value of org.eclipse.lyo.oslc4j.publicURI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OSLC4JUtils()
Method Detail |
---|
public static String getPublicURI()
public static void setPublicURI(String newPublicURI) throws MalformedURLException
publicURI
-
MalformedURLException
public static boolean isHostResolutionDisabled()
public static void setHostResolutionDisabled(boolean hostResDisabled)
public static String resolveURI(javax.servlet.http.HttpServletRequest request, boolean includePath)
request
- - request to base resolved URI onincludePath
- - if the path (after the context root) should be included in the resolved URI
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |