|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.slide.search.SlideUri
A SlideUri contains two parts the context path and the slide uri.
The context path is determined by the path of the webapp and the path
to which the WebDavServlet is mapped. Samples: /slide
,
/webapp/webdav
and /
.
The slide uri is an URI as represented by Uri
.
Method Summary | |
static SlideUri |
createWithRequestUri(java.lang.String slideContextPath,
java.lang.String requestUri)
Creates a SlideUri. |
java.lang.String |
getContextPath(java.lang.String slidePath)
Translates a slide uri to an absolute webdav path. |
java.lang.String |
getSlidePath(java.lang.String davPath)
Determines the slidePath from an webdav path. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static SlideUri createWithRequestUri(java.lang.String slideContextPath, java.lang.String requestUri)
slideContextPath
- the Context path of the WebDAVServletrequestUri
- the URI from an WebDAV(HTTP) request
public java.lang.String getSlidePath(java.lang.String davPath) throws InvalidScopeException
InvalidScopeException
- if the given path is absolute but not
in the scope given by the current slice context path.public java.lang.String getContextPath(java.lang.String slidePath)
slidePath
- slide internal uri
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |