Package org.nuxeo.ecm.webengine.app
Class DefaultContext
- java.lang.Object
-
- org.nuxeo.ecm.webengine.model.impl.AbstractWebContext
-
- org.nuxeo.ecm.webengine.app.DefaultContext
-
- All Implemented Interfaces:
WebContext
,Adaptable
public class DefaultContext extends AbstractWebContext
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected com.sun.jersey.api.core.HttpContext
hc
protected javax.ws.rs.core.HttpHeaders
headers
protected javax.ws.rs.core.UriInfo
info
protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext
sic
-
Fields inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractWebContext
basePath, DEFAULT_LOCALE, engine, form, head, LOCALE_SESSION_KEY, module, request, response, root, scriptExecutionStack, tail, vars
-
Fields inherited from interface org.nuxeo.ecm.webengine.model.WebContext
NUXEO_WEBENGINE_BASE_PATH
-
-
Constructor Summary
Constructors Constructor Description DefaultContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.HttpHeaders
getHttpHeaders()
Gets HTTP Headers as defined by JAX-RS.com.sun.jersey.api.core.HttpContext
getServerHttpContext()
Gets the jersey server http contextcom.sun.jersey.server.impl.inject.ServerInjectableProviderContext
getServerInjectableProviderContext()
Gets the jersey server injection contextjavax.ws.rs.core.UriInfo
getUriInfo()
Gets the JAX-RS UriInfo.void
setJerseyContext(com.sun.jersey.server.impl.inject.ServerInjectableProviderContext sic, com.sun.jersey.api.core.HttpContext hc)
-
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractWebContext
checkGuard, createBindings, getAdapter, getBasePath, getBaseURL, getCookie, getCookie, getCoreSession, getCurrentScriptDirectory, getCurrentScriptFile, getEngine, getFile, getForm, getLocale, getLog, getLoginPath, getMessage, getMessage, getMessage, getMessageL, getMessageL, getMessageL, getMethod, getModule, getModulePath, getPrincipal, getProperty, getProperty, getRequest, getResponse, getRoot, getServerURL, getTargetAdapter, getTargetObject, getURI, getURL, getUrlPath, getUrlPath, getUrlPathBuffer, getUserSession, head, initializeBindings, isRepositorySupportDisabled, newAdapter, newObject, newObject, pop, popScriptFile, push, pushScriptFile, render, render, render, runScript, runScript, runScript, setIsRepositorySupportDisabled, setLocale, setModule, setProperty, setRepositoryName, setRoot, tail
-
-
-
-
Method Detail
-
getHttpHeaders
public javax.ws.rs.core.HttpHeaders getHttpHeaders()
Description copied from interface:WebContext
Gets HTTP Headers as defined by JAX-RS.- Returns:
- HTTP headers object
-
getUriInfo
public javax.ws.rs.core.UriInfo getUriInfo()
Description copied from interface:WebContext
Gets the JAX-RS UriInfo.- Returns:
- the uri info
-
getServerHttpContext
public com.sun.jersey.api.core.HttpContext getServerHttpContext()
Description copied from interface:WebContext
Gets the jersey server http context
-
getServerInjectableProviderContext
public com.sun.jersey.server.impl.inject.ServerInjectableProviderContext getServerInjectableProviderContext()
Description copied from interface:WebContext
Gets the jersey server injection context
-
setJerseyContext
public void setJerseyContext(com.sun.jersey.server.impl.inject.ServerInjectableProviderContext sic, com.sun.jersey.api.core.HttpContext hc)
-
-