|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RequestResolver

Interface for a method of resolving a request into a repository name, workspace name, and node path. Implementations can use
additional information in the request (such as the principal to resolve the URI.
Implementations of this class must be thread-safe and must provide a public, nilary (no-argument) constructor.
SingleRepositoryRequestResolver,
MultiRepositoryRequestResolver| Method Summary | |
|---|---|
void |
initialize(javax.servlet.ServletContext context)
Initialize the resolver based on the provided context |
ResolvedRequest |
resolve(javax.servlet.http.HttpServletRequest request,
String path)
Resolve the given request to the repository, workspace, and path of the node |
| Method Detail |
|---|
void initialize(javax.servlet.ServletContext context)
context - the servlet context for this servlet
ResolvedRequest resolve(javax.servlet.http.HttpServletRequest request,
String path)
throws net.sf.webdav.exceptions.WebdavException
request - the request to be resolvedpath - the requested relative path; never null or empty
net.sf.webdav.exceptions.WebdavException - if the URI cannot be resolved to a repository, workspace, and path
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||