|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPhpScriptContext
Common methods for all PHP ScriptContexts
| Field Summary |
|---|
| Fields inherited from interface php.java.bridge.http.IContext |
|---|
ENGINE_SCOPE, GLOBAL_SCOPE, JAVA_BRIDGE, PHP_PROCEDURE, SERVLET, SERVLET_CONFIG, SERVLET_CONTEXT, SERVLET_REQUEST, SERVLET_RESPONSE |
| Fields inherited from interface javax.script.ScriptContext |
|---|
ENGINE_SCOPE, GLOBAL_SCOPE |
| Method Summary | |
|---|---|
Continuation |
createContinuation(java.io.Reader reader,
java.util.Map env,
java.io.OutputStream out,
java.io.OutputStream err,
HeaderParser headerParser,
ResultProxy result,
ILogger logger,
boolean isCompiled)
Create a continuation |
ContextServer |
getContextServer()
Get the context server associated with this context, usually a HttpServer (JavaBridgeRunner) or a ContextServer from a ContextLoaderListener |
Continuation |
getContinuation()
Get the php continuation |
void |
setContinuation(Continuation kont)
Set the php continuation |
void |
startContinuation()
Start the current continuation using a context-specific thread pool |
| Methods inherited from interface php.java.bridge.IManaged |
|---|
init, onShutdown |
| Methods inherited from interface php.java.bridge.Invocable |
|---|
call |
| Methods inherited from interface php.java.bridge.http.IContext |
|---|
get, getAll, getAttribute, getAttribute, getAttributesScope, getHttpServletRequest, getHttpServletResponse, getRealPath, getRedirectString, getRedirectString, getRedirectURL, getServlet, getServletConfig, getServletContext, getSocketName, getWriter, put, putAll, remove, removeAttribute, setAttribute |
| Methods inherited from interface javax.script.ScriptContext |
|---|
getAttribute, getAttribute, getAttributesScope, getBindings, getErrorWriter, getReader, getScopes, getWriter, removeAttribute, setAttribute, setBindings, setErrorWriter, setReader, setWriter |
| Method Detail |
|---|
void setContinuation(Continuation kont)
kont - The continuation.Continuation getContinuation()
Continuation createContinuation(java.io.Reader reader,
java.util.Map env,
java.io.OutputStream out,
java.io.OutputStream err,
HeaderParser headerParser,
ResultProxy result,
ILogger logger,
boolean isCompiled)
reader - the script readerenv - the environment passed to phpout - the fcgi output streamerr - the fcgi error streamheaderParser - fcgi header parserresult - the result proxylogger - the loggerisCompiled - create a continuation for a compiled or non-compiled script engine
void startContinuation()
ContextServer getContextServer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||