Class WebSession

java.lang.Object
org.serviceconnector.web.WebSession

public class WebSession extends Object
  • Constructor Details

    • WebSession

      public WebSession()
      Instantiates a new web session.
  • Method Details

    • getSessionTimeoutSeconds

      public double getSessionTimeoutSeconds()
      Gets the session timeout seconds.
      Returns:
      the session timeout seconds
    • getTimeout

      public ScheduledFuture<TimeoutWrapper> getTimeout()
      Gets the session timeout.
      Returns:
      the session timeout
    • setTimeout

      public void setTimeout(ScheduledFuture<TimeoutWrapper> timeout)
      Sets the session timeout.
      Parameters:
      timeout - the new session timeout
    • setTimeouterTask

      public void setTimeouterTask(TimeoutWrapper timeouterTask)
      Sets the timeouter task.
      Parameters:
      timeouterTask - the new timeouter task
    • getTimeouterTask

      public TimeoutWrapper getTimeouterTask()
      Gets the timeouter task.
      Returns:
      the timeouter task
    • getUserAgent

      public String getUserAgent()
    • setUserAgent

      public void setUserAgent(String userAgent)
    • getHost

      public String getHost()
    • setHost

      public void setHost(String host)
    • getPort

      public int getPort()
    • setPort

      public void setPort(int port)
    • getRemoteHost

      public String getRemoteHost()
    • setRemoteHost

      public void setRemoteHost(String remoteHost)
    • getRemotePort

      public int getRemotePort()
    • setRemotePort

      public void setRemotePort(int remotePort)
    • getCredentials

      public WebCredentials getCredentials()
    • setCredentials

      public void setCredentials(WebCredentials credentials)
    • getId

      public String getId()