org.modeshape.web.jcr.rest
Class ServerResource
java.lang.Object
org.modeshape.web.jcr.rest.AbstractJcrResource
org.modeshape.web.jcr.rest.ServerResource
@Immutable
public class ServerResource
- extends AbstractJcrResource
RESTEasy handler to provide the JCR repositories hosted on the server at the URI below. Please note that this URI assumes a
context of /resources for the web application.
| URI Pattern |
Description |
Supported Methods |
| /resources |
returns a list of accessible repositories |
GET |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerResource
public ServerResource()
getRepositories
public Map<String,RepositoryEntry> getRepositories(@Context
HttpServletRequest request)
- Returns the list of JCR repositories available on this server
- Parameters:
request - the servlet request; may not be null
- Returns:
- the list of JCR repositories available on this server
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.