Class BundleResource

java.lang.Object
org.nuxeo.ecm.webengine.jaxrs.views.BundleResource
Direct Known Subclasses:
RootResource

public class BundleResource extends Object
Author:
Bogdan Stefanescu
  • Field Details

  • Constructor Details

    • BundleResource

      public BundleResource()
    • BundleResource

      public BundleResource(ResourceContext context)
  • Method Details

    • setContext

      public BundleResource setContext(ResourceContext context)
    • getContext

      public ResourceContext getContext()
    • getBundle

      public final org.osgi.framework.Bundle getBundle()
    • getRenderingEngine

      public final RenderingEngine getRenderingEngine()
    • getView

      public final View getView(String path)
    • getRequest

      public final javax.servlet.http.HttpServletRequest getRequest()
    • getSession

      public CoreSession getSession()
    • getPrincipal

      public Principal getPrincipal()
    • getUriInfo

      public javax.ws.rs.core.UriInfo getUriInfo()
    • getBaseUri

      public URI getBaseUri()
    • getResource

      public <T extends BundleResource> T getResource(Class<T> clazz)
    • dispatch

      public Object dispatch(String segment)
    • accept

      public boolean accept(BundleResource target)
      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