org.ow2.opensuit.core.util
Class OpenSuitUrlBuilder
java.lang.Object
org.ow2.opensuit.core.util.UrlBuilder
org.ow2.opensuit.core.util.OpenSuitUrlBuilder
public final class OpenSuitUrlBuilder
- extends UrlBuilder
This is an extension of the base UrlBuilder with specific open SUIT functionalities.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PAGE_SELECTOR
public static final java.lang.String PAGE_SELECTOR
- See Also:
- Constant Field Values
SERVICE_SELECTOR
public static final java.lang.String SERVICE_SELECTOR
- See Also:
- Constant Field Values
RESOURCE_SELECTOR
public static final java.lang.String RESOURCE_SELECTOR
- See Also:
- Constant Field Values
copyFromRequest
public static OpenSuitUrlBuilder copyFromRequest(javax.servlet.http.HttpServletRequest iRequest,
boolean iCopyParameters)
- Constructs a OpenSuitUrlBuilder that is a copy of the given request
- Parameters:
iRequest
- The current http request.iCopyParameters
- Tells whether current request parameters should be copied.
createResourceUrl
public static OpenSuitUrlBuilder createResourceUrl(javax.servlet.http.HttpServletRequest iRequest,
java.lang.String iResourcePath,
java.lang.String iMimeType)
- Creates a request url that points to an internal resource.
- Parameters:
iRequest
- The current http request.iResourcePath
- The resource path.iMimeType
- The resource MIME Type (may be null, will rely on the servlet MIME Types)
- Returns:
getContextPath
public java.lang.String getContextPath()
getServletPath
public java.lang.String getServletPath()
getPathInfo
public java.lang.String getPathInfo()
setPathInfo
public void setPathInfo(java.lang.String pathInfo)
getRequestUri
public java.lang.String getRequestUri()
- Description copied from class:
UrlBuilder
- Returns the url request uri.
- Overrides:
getRequestUri
in class UrlBuilder
- Returns:
Copyright © 2008-2012 OW2 Consortium. All Rights Reserved.