Class BackgroundProcess.OriginalContext

  • Enclosing class:
    BackgroundProcess

    public class BackgroundProcess.OriginalContext
    extends java.lang.Object
    Stores 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
      Member getDelegateMember()
      Returns the original Member that was loggued first in the session of the original HTTP request that started this process, if any.
      Member getLoggedMember()
      Returns the Member that was loggued in the original HTTP request that started this process, if any.
      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.
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OriginalContext

        public OriginalContext()
    • 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