Class ResourceContext
java.lang.Object
org.nuxeo.ecm.webengine.rest.views.ResourceContext
A resource request context. This class is not thread safe.
- Author:
- Bogdan Stefanescu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ApplicationHost
protected jakarta.servlet.http.HttpServletRequest
protected jakarta.ws.rs.core.UriInfo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
final org.osgi.framework.Bundle
final LinkedList
<org.osgi.framework.Bundle> static ResourceContext
final RenderingEngine
jakarta.servlet.http.HttpServletRequest
protected org.osgi.framework.Bundle
getResourceBundle
(Object res) jakarta.ws.rs.core.UriInfo
The prefix used to reference templates in template source locatorsvoid
pushBundle
(org.osgi.framework.Bundle bundle) void
pushBundleFor
(Object obj) static void
setContext
(ResourceContext context) void
setRequest
(jakarta.servlet.http.HttpServletRequest request) void
setUriInfo
(jakarta.ws.rs.core.UriInfo uriInfo)
-
Field Details
-
app
-
request
protected jakarta.servlet.http.HttpServletRequest request -
uriInfo
protected jakarta.ws.rs.core.UriInfo uriInfo
-
-
Constructor Details
-
ResourceContext
protected ResourceContext() -
ResourceContext
-
-
Method Details
-
setContext
-
getContext
-
destroyContext
public static void destroyContext() -
getApplication
-
getBundleStack
-
setUriInfo
public void setUriInfo(jakarta.ws.rs.core.UriInfo uriInfo) -
setRequest
public void setRequest(jakarta.servlet.http.HttpServletRequest request) -
getBundle
public final org.osgi.framework.Bundle getBundle() -
getRenderingEngine
-
getRequest
public jakarta.servlet.http.HttpServletRequest getRequest() -
getPrincipal
-
getUriInfo
public jakarta.ws.rs.core.UriInfo getUriInfo() -
getSession
-
getBaseUri
-
pushBundleFor
-
pushBundle
public void pushBundle(org.osgi.framework.Bundle bundle) -
getResourceBundle
-
getViewRoot
The prefix used to reference templates in template source locators -
findEntry
-