Class BundleResource
java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.views.BundleResource
- Direct Known Subclasses:
RootResource
- Author:
- Bogdan Stefanescu
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(BundleResource target) This method is only for contributed sub-resources.final org.osgi.framework.Bundle
final RenderingEngine
final javax.servlet.http.HttpServletRequest
<T extends BundleResource>
TgetResource
(Class<T> clazz) javax.ws.rs.core.UriInfo
final View
setContext
(ResourceContext context)
-
Field Details
-
VIEW_ROOT
- See Also:
-
context
-
-
Constructor Details
-
BundleResource
public BundleResource() -
BundleResource
-
-
Method Details
-
setContext
-
getContext
-
getBundle
public final org.osgi.framework.Bundle getBundle() -
getRenderingEngine
-
getView
-
getRequest
public final javax.servlet.http.HttpServletRequest getRequest() -
getSession
-
getPrincipal
-
getUriInfo
public javax.ws.rs.core.UriInfo getUriInfo() -
getBaseUri
-
getResource
-
dispatch
-
accept
This method is only for contributed sub-resources. It will be ignored for root resources. Extension resources may override this method to dynamically accept or reject to be installed as a sub-resource of the target resource
-