public class ResourceContext extends Object
Constructor and Description |
---|
ResourceContext(ApplicationHost app) |
Modifier and Type | Method and Description |
---|---|
static void |
destroyContext() |
URL |
findEntry(String path) |
ApplicationHost |
getApplication() |
URI |
getBaseUri() |
org.osgi.framework.Bundle |
getBundle() |
LinkedList<org.osgi.framework.Bundle> |
getBundleStack() |
static ResourceContext |
getContext() |
Principal |
getPrincipal() |
RenderingEngine |
getRenderingEngine() |
javax.servlet.http.HttpServletRequest |
getRequest() |
CoreSession |
getSession() |
javax.ws.rs.core.UriInfo |
getUriInfo() |
String |
getViewRoot()
The prefix used to reference templates in template source locators
|
void |
pushBundle(org.osgi.framework.Bundle bundle) |
void |
pushBundleFor(Object obj) |
static void |
setContext(ResourceContext context) |
void |
setRequest(javax.servlet.http.HttpServletRequest request) |
void |
setUriInfo(javax.ws.rs.core.UriInfo uriInfo) |
public ResourceContext(ApplicationHost app)
public static final void setContext(ResourceContext context)
public static final ResourceContext getContext()
public static final void destroyContext()
public ApplicationHost getApplication()
public final LinkedList<org.osgi.framework.Bundle> getBundleStack()
public void setUriInfo(javax.ws.rs.core.UriInfo uriInfo)
public void setRequest(javax.servlet.http.HttpServletRequest request)
public final org.osgi.framework.Bundle getBundle()
public final RenderingEngine getRenderingEngine()
public javax.servlet.http.HttpServletRequest getRequest()
public Principal getPrincipal()
public javax.ws.rs.core.UriInfo getUriInfo()
public CoreSession getSession()
public URI getBaseUri()
public void pushBundleFor(Object obj)
public void pushBundle(org.osgi.framework.Bundle bundle)
public String getViewRoot()
Copyright © 2015 Nuxeo SA. All rights reserved.