Class BackgroundProcess.OriginalContext
java.lang.Object
com.jalios.jcms.backgroundprocess.BackgroundProcess.OriginalContext
- Enclosing class:
BackgroundProcess
Stores details about the original context at the time the process was started.
- Since:
- jcms-10.0.9 / JCMS-11194
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the original Member that was loggued first in the session of the original HTTP request that started this process, if any.Returns the Member that was loggued in the original HTTP request that started this process, if any.Returns the IP address of the client or last proxy that sent original request from which the process was started, if any.Returns the fully qualified name of the client or the last proxy that sent the original request from which the process was started, if any.
-
Constructor Details
-
OriginalContext
public OriginalContext()
-
-
Method Details
-
getLoggedMember
Returns the Member that was loggued in the original HTTP request that started this process, if any.- Returns:
- the Member logged at the time of the original request, or null if user was not logged.
- Since:
- jcms-10.0.9 / JCMS-11194
-
getDelegateMember
Returns the original Member that was loggued first in the session of the original HTTP request that started this process, if any.- Returns:
- the initial Member who created the original HTTP session, or null if user was not logged.
- Since:
- jcms-10.0.9 / JCMS-11194
-
getRemoteAddr
Returns the IP address of the client or last proxy that sent original request from which the process was started, if any.- Returns:
- the IP address of the client.
- Since:
- jcms-10.0.9 / JCMS-11194
-
getRemoteHost
Returns the fully qualified name of the client or the last proxy that sent the original request from which the process was started, if any.If the engine could not or chooses not to resolve the hostname (to improve performance), this method returns the dotted-string form of the IP address.
For HTTP servlets, same as the value of the CGI variable REMOTE_HOST.- Returns:
- the hostname or IP address of the client.
- Since:
- jcms-10.0.9 / JCMS-11194
-