public class BundleResource extends Object
Modifier and Type | Field and Description |
---|---|
protected ResourceContext |
context |
static String |
VIEW_ROOT |
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() |
javax.servlet.http.HttpServletRequest |
getRequest() |
<T extends BundleResource> |
getResource(Class<T> clazz) |
CoreSession |
getSession() |
javax.ws.rs.core.UriInfo |
getUriInfo() |
View |
getView(String path) |
BundleResource |
setContext(ResourceContext context) |
public static final String VIEW_ROOT
protected ResourceContext context
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 javax.servlet.http.HttpServletRequest getRequest()
public CoreSession getSession()
public Principal getPrincipal()
public javax.ws.rs.core.UriInfo getUriInfo()
public URI getBaseUri()
public <T extends BundleResource> T getResource(Class<T> clazz)
public boolean accept(BundleResource target)
target
- Copyright © 2017 Nuxeo. All rights reserved.