|
||||||||||
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 UriResolver
within the
workspace. 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.
Method Summary | |
---|---|
void |
initialize(ServletContext context)
Initialize the resolver based on the provided context |
ResolvedRequest |
resolve(HttpServletRequest request)
Resolve the given request to the repository, workspace, and URI resolver for the request |
Method Detail |
---|
void initialize(ServletContext context)
context
- the servlet context for this servletResolvedRequest resolve(HttpServletRequest request) throws RepositoryException
request
- the request to be resolved
RepositoryException
- 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 |