org.modeshape.web.jcr.webdav
Class DefaultRequestResolver
java.lang.Object
org.modeshape.web.jcr.webdav.DefaultRequestResolver
- All Implemented Interfaces:
- RequestResolver
public class DefaultRequestResolver
- extends Object
- implements RequestResolver
Default RequestResolver
that performs a direct mapping from all incoming URIs to the same path within a single
repository and workspace.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INIT_REPOSITORY_NAME
public static final String INIT_REPOSITORY_NAME
- See Also:
- Constant Field Values
INIT_WORKSPACE_NAME
public static final String INIT_WORKSPACE_NAME
- See Also:
- Constant Field Values
DefaultRequestResolver
public DefaultRequestResolver()
initialize
public void initialize(ServletContext context)
- Description copied from interface:
RequestResolver
- Initialize the resolver based on the provided context
- Specified by:
initialize
in interface RequestResolver
- Parameters:
context
- the servlet context for this servlet
resolve
public ResolvedRequest resolve(HttpServletRequest request)
- Description copied from interface:
RequestResolver
- Resolve the given request to the repository, workspace, and URI resolver for the request
- Specified by:
resolve
in interface RequestResolver
- Parameters:
request
- the request to be resolved
- Returns:
- the repository, workspace, and URI resolver that correspond to that request
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.