|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
php.java.script.CGIRunner
php.java.script.HttpProxy
public class HttpProxy
Represents the script continuation.
This class can be used to allocate php scripts on a HTTP server.
Although this class accidentally inherits from CGIRunner
it doesn't necessarily run CGI binaries.
If you pass a URLReader, it calls its read method which opens a URLConnection to the remote server
and holds the allocated remote script instance hostage until release is called.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
HttpProxy(java.io.Reader reader,
java.util.Map env,
java.io.OutputStream out,
java.io.OutputStream err,
Util.HeaderParser headerParser)
Create a HTTP proxy which can be used to allocate a php script from a HTTP server |
|
HttpProxy(java.io.Reader reader,
java.lang.String ctx,
java.io.OutputStream out,
java.io.OutputStream err,
Util.HeaderParser headerParser)
Create a HTTP proxy which can be used to allocate a php script from a HTTP server |
Method Summary |
---|
Methods inherited from class php.java.script.CGIRunner |
---|
call, getPhpScript, release, run |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HttpProxy(java.io.Reader reader, java.util.Map env, java.io.OutputStream out, java.io.OutputStream err, Util.HeaderParser headerParser)
reader
- - The reader, for example a URLReaderenv
- - The environment, must contain values for X_JAVABRIDGE_CONTEXT. It may contain X_JAVABRIDGE_OVERRIDE_HOSTS.out
- - The OutputStreampublic HttpProxy(java.io.Reader reader, java.lang.String ctx, java.io.OutputStream out, java.io.OutputStream err, Util.HeaderParser headerParser)
reader
- - The reader, for example a URLReaderctx
- - The context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |