|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CGI
Expected lifecycle
| Method Summary | |
|---|---|
void |
exec(java.io.File script,
java.util.Map<java.lang.String,java.lang.String> env)
Execute the CGI script |
int |
getExitCode()
|
java.io.InputStream |
getStandardOutput()
|
void |
pipeInput(java.io.InputStream requestIn,
int contentLength)
Send request input to the CGI process |
void |
terminate()
Causes any CGI related system resources to be returned. |
| Method Detail |
|---|
void exec(java.io.File script,
java.util.Map<java.lang.String,java.lang.String> env)
throws CGIException
script - The script.env - CGI arguments
CGIException
void pipeInput(java.io.InputStream requestIn,
int contentLength)
throws java.io.IOException
requestIn - contentLength - in bytes
java.io.IOException
java.io.InputStream getStandardOutput()
throws java.io.IOException
java.io.IOExceptionvoid terminate()
int getExitCode()
throws java.lang.IllegalThreadStateException
java.lang.IllegalStateException - if the script has not been terminated yet.
java.lang.IllegalThreadStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||