public class BundleResource extends Object
Constructor and Description |
---|
BundleResource() |
BundleResource(ResourceContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(BundleResource target)
This method is only for contributed sub-resources.
|
Object |
dispatch(String segment) |
URI |
getBaseUri() |
org.osgi.framework.Bundle |
getBundle() |
ResourceContext |
getContext() |
Principal |
getPrincipal() |
RenderingEngine |
getRenderingEngine() |
HttpServletRequest |
getRequest() |
<T extends BundleResource> |
getResource(Class<T> clazz) |
CoreSession |
getSession() |
UriInfo |
getUriInfo() |
View |
getView(String path) |
BundleResource |
setContext(ResourceContext context) |
public static final String VIEW_ROOT
public BundleResource()
public BundleResource(ResourceContext context)
public BundleResource setContext(ResourceContext context)
public ResourceContext getContext()
public final org.osgi.framework.Bundle getBundle()
public final RenderingEngine getRenderingEngine()
public final HttpServletRequest getRequest()
public CoreSession getSession()
public Principal getPrincipal()
public UriInfo getUriInfo()
public URI getBaseUri()
public <T extends BundleResource> T getResource(Class<T> clazz)
public boolean accept(BundleResource target)
target
- Copyright © 2011 Nuxeo SA. All Rights Reserved.