Class BackgroundProcess.OriginalContext
- java.lang.Object
-
- com.jalios.jcms.backgroundprocess.BackgroundProcess.OriginalContext
-
- Enclosing class:
- BackgroundProcess
public class BackgroundProcess.OriginalContext extends java.lang.ObjectStores details about the original context at the time the process was started.- Since:
- jcms-10.0.9 / JCMS-11194
-
-
Constructor Summary
Constructors Constructor Description OriginalContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MembergetDelegateMember()Returns the original Member that was loggued first in the session of the original HTTP request that started this process, if any.MembergetLoggedMember()Returns the Member that was loggued in the original HTTP request that started this process, if any.java.lang.StringgetRemoteAddr()Returns the IP address of the client or last proxy that sent original request from which the process was started, if any.java.lang.StringgetRemoteHost()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.
-
-
-
Method Detail
-
getLoggedMember
public Member 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
public Member 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
public java.lang.String 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
public java.lang.String 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
-
-