public class CookieCGI extends Object implements CgiPrintInterface, IncludeCgiPrintInterface
| Constructor and Description |
|---|
CookieCGI() |
| Modifier and Type | Method and Description |
|---|---|
void |
performAction(HttpSession session,
HttpResource resource,
Element element,
PrintWriter out)
Prints the current cookies passed to the server from the browser.
|
void |
performAction(HttpSession session,
PrintWriter out)
Sends a cookie to the client depending on the information provided in the
"cgi_cookiesample.html" form.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitformatIPResult, formatIPResult, queryLocationInfo, queryLocationInfo, queryLocationInfopublic void performAction(HttpSession session, HttpResource resource, Element element, PrintWriter out) throws IOException
This method should print an HTML document to the printWriter.
The current directory of the CGI for the client agent is defined in the
HttpSession class instance.
performAction in interface IncludeCgiPrintInterfacesession - The current HTTP session.resource - The HTTP resource for which the CGI is being executed.element - The HTML element where this CGI is included in.out - The PrintWriter to which the part of the HTML document should be printed to.IOException - for IO errors.public void performAction(HttpSession session, PrintWriter out) throws IOException
This method should print a HTML document content using the
PrintWriter parameter.
The current directory of the CGI for the client agent is defined in the
HttpSession class instance.
performAction in interface CgiPrintInterfacesession - The current HTTP session.out - The PrintWriter to which the HTML document should be printed to.IOException - for IO errors.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.