public class HtmlApplicationCGI extends Object implements CgiHtmlResourceInterface
| Modifier and Type | Field and Description |
|---|---|
static int | APPERROR_APPEXITApplication exit message. |
static int | APPERROR_CLIENTDISPOSEDClient is disposed message. |
static int | APPERROR_CLIENTTIMEOUTClient session timed out. |
static int | APPERROR_HOSTSCRNOTFOUNDHost screen not recognized. |
static int | APPERROR_HOSTSESSIONFAILEDHost session failed. |
static int | APPERROR_INVALIDCOOKIEInvalid cookie session ID. |
static int | APPERROR_INVALIDSESSIONInvalid session ID. |
static int | APPERROR_MAXCURRUSERSMaximum current user count reached. |
static int | APPERROR_MSGBOXREPLYInvalid messagebox reply. |
static String | NPAPP_SESSIONIDForm 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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitformatIPResult, formatIPResult, queryLocationInfo, queryLocationInfo, queryLocationInfopublic 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 CgiHtmlResourceInterfacenewSession - The current HTTP session.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.
© 2026 Mindus SARL. All rights reserved.