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.
|
public 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 IncludeCgiPrintInterfaceIOException - 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 CgiPrintInterfaceIOException - for IO errors.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.