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
- Author:
- Bogdan Stefanescu
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.sun.jersey.api.core.HttpContext
protected javax.ws.rs.core.HttpHeaders
protected javax.ws.rs.core.UriInfo
protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext
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
ConstructorDescriptionDefaultContext
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.HttpHeaders
Gets HTTP Headers as defined by JAX-RS.com.sun.jersey.api.core.HttpContext
Gets the jersey server http contextcom.sun.jersey.server.impl.inject.ServerInjectableProviderContext
Gets the jersey server injection contextjavax.ws.rs.core.UriInfo
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
-
Field Details
-
info
protected javax.ws.rs.core.UriInfo info -
headers
protected javax.ws.rs.core.HttpHeaders headers -
sic
protected com.sun.jersey.server.impl.inject.ServerInjectableProviderContext sic -
hc
protected com.sun.jersey.api.core.HttpContext hc
-
-
Constructor Details
-
DefaultContext
public DefaultContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
Method Details
-
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)
-