Package org.ametys.core.engine
Class BackgroundRequest
- java.lang.Object
-
- org.apache.cocoon.environment.commandline.CommandLineRequest
-
- org.ametys.core.engine.BackgroundRequest
-
- All Implemented Interfaces:
Request
public class BackgroundRequest extends CommandLineRequest
SimpleRequest
used for internal requests.
-
-
Constructor Summary
Constructors Constructor Description BackgroundRequest(BackgroundEnvironment env)
Constructs this simple request.BackgroundRequest(BackgroundEnvironment env, String contextPath, Map requestAttributes, Map requestParameters, Map requestHeaders)
Constructs this simple request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Session
getSession(boolean create)
-
Methods inherited from class org.apache.cocoon.environment.commandline.CommandLineRequest
get, getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getCocoonSession, getCocoonSession, getContentLength, getContentType, getContextPath, getCookieMap, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getLocale, getLocales, getMethod, getParameter, getParameterMap, getParameterNames, getParameterValues, getPathInfo, getPathTranslated, getProtocol, getQueryString, getRemoteAddr, getRemoteHost, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getScheme, getServerName, getServerPort, getServletPath, getSession, getSitemapURI, getSitemapURIPrefix, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, removeAttribute, setAttribute, setCharacterEncoding
-
-
-
-
Constructor Detail
-
BackgroundRequest
public BackgroundRequest(BackgroundEnvironment env)
Constructs this simple request.- Parameters:
env
- the parent environment.
-
BackgroundRequest
public BackgroundRequest(BackgroundEnvironment env, String contextPath, Map requestAttributes, Map requestParameters, Map requestHeaders)
Constructs this simple request.- Parameters:
env
- the parent environment.contextPath
- the context pathrequestAttributes
- request attributes.requestParameters
- request parameters.requestHeaders
- request headers.
-
-
Method Detail
-
getSession
public Session getSession(boolean create)
- Specified by:
getSession
in interfaceRequest
- Overrides:
getSession
in classCommandLineRequest
-
-