public class HtmlApplicationCGI extends Object implements CgiHtmlResourceInterface
Modifier and Type | Field and Description |
---|---|
static int |
APPERROR_APPEXIT
Application exit message.
|
static int |
APPERROR_CLIENTDISPOSED
Client is disposed message.
|
static int |
APPERROR_CLIENTTIMEOUT
Client session timed out.
|
static int |
APPERROR_HOSTSCRNOTFOUND
Host screen not recognized.
|
static int |
APPERROR_HOSTSESSIONFAILED
Host session failed.
|
static int |
APPERROR_INVALIDCOOKIE
Invalid cookie session ID.
|
static int |
APPERROR_INVALIDSESSION
Invalid session ID.
|
static int |
APPERROR_MAXCURRUSERS
Maximum current user count reached.
|
static int |
APPERROR_MSGBOXREPLY
Invalid messagebox reply.
|
static String |
NPAPP_SESSIONID
Form data NetPhantom application session ID when cookie not used.
|
Constructor and Description |
---|
HtmlApplicationCGI() |
Modifier and Type | Method and Description |
---|---|
static HtmlResource |
applicationError(HttpSession session,
int errMsg,
String errTextExtra)
Sends the application error document.
|
protected void |
initializeUserExitSession(HttpSession httpSession)
User exit for session initialization.
|
HtmlResource |
performAction(HttpSession newSession)
This method should return an HtmlResourceData instance with the document
that should be sent to the client.
|
protected HtmlResource |
validateUserExitSession(HttpSession httpSession)
Overload this method for User exit session validation.
|
public static final int APPERROR_MAXCURRUSERS
public static final int APPERROR_INVALIDCOOKIE
public static final int APPERROR_INVALIDSESSION
public static final int APPERROR_MSGBOXREPLY
public static final int APPERROR_HOSTSESSIONFAILED
public static final int APPERROR_HOSTSCRNOTFOUND
public static final int APPERROR_CLIENTTIMEOUT
public static final int APPERROR_APPEXIT
public static final int APPERROR_CLIENTDISPOSED
public static final String NPAPP_SESSIONID
public HtmlResource performAction(HttpSession newSession) throws IOException
The current directory of the CGI for the client agent is defined in the
HttpSession
class instance.
performAction
in interface CgiHtmlResourceInterface
IOException
- for IO errors.protected HtmlResource validateUserExitSession(HttpSession httpSession)
protected void initializeUserExitSession(HttpSession httpSession)
public static HtmlResource applicationError(HttpSession session, int errMsg, String errTextExtra) throws IOException
IOException
- for IO errors.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.