php.java.script
Class PhpCompiledScriptContext
java.lang.Object
php.java.script.PhpScriptContextDecorator
php.java.script.PhpCompiledScriptContext
- All Implemented Interfaces:
- ScriptContext, IContext, IManaged, Invocable, IPhpScriptContext
public class PhpCompiledScriptContext
- extends PhpScriptContextDecorator
A decorator for compiled script engines.
Only for internal use.
- Author:
- jostb
Methods inherited from class php.java.script.PhpScriptContextDecorator |
call, get, getAll, getAttribute, getAttribute, getAttributesScope, getBindings, getContextServer, getContinuation, getErrorWriter, getHttpServletRequest, getHttpServletResponse, getReader, getRealPath, getRedirectString, getRedirectString, getRedirectURL, getScopes, getServlet, getServletConfig, getServletContext, getSocketName, getWriter, init, onShutdown, put, putAll, remove, removeAttribute, setAttribute, setBindings, setContinuation, setErrorWriter, setReader, setWriter, startContinuation |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhpCompiledScriptContext
public PhpCompiledScriptContext(IPhpScriptContext ctx)
- Create a new PhpCompiledScriptContext using an existing
PhpScriptContext
- Parameters:
ctx
- the script context to be decorated
createContinuation
public 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
- Specified by:
createContinuation
in interface IPhpScriptContext
- Overrides:
createContinuation
in class PhpScriptContextDecorator
- Parameters:
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
- Returns:
- the Continuation