public class

KeepSessionAliveTask

extends AbstractAppTask
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.app.tasks.AbstractAppTask
       ↳ com.microstrategy.web.app.tasks.KeepSessionAliveTask

Class Overview

This Task checks the status an Intelligence Server session. This can be used to prolong the life an already open session.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractBaseTask
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
KeepSessionAliveTask()
Default no args constructor
Public Methods
void processRequest(TaskRequestContext context, TaskOutput out)
This Task simply tries to obtain the WebIServerSession.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.tasks.AbstractAppTask
From class com.microstrategy.web.tasks.AbstractBaseTask
From class java.lang.Object
From interface com.microstrategy.web.tasks.Task

Public Constructors

public KeepSessionAliveTask ()

Default no args constructor

Public Methods

public void processRequest (TaskRequestContext context, TaskOutput out)

This Task simply tries to obtain the WebIServerSession. If it alive, it returns with a successful Task status code. If it fails, a TaskException is raised.

Parameters
context The TaskRequestContext object that maintains the state of the request.
out taskOutput The TaskOutput that records the contents of the Task response.
Throws
TaskException If the session is not alive.