com.caucho.quercus
Class CgiQuercus

java.lang.Object
  extended by com.caucho.quercus.QuercusContext
      extended by com.caucho.quercus.Quercus
          extended by com.caucho.quercus.CliQuercus
              extended by com.caucho.quercus.CgiQuercus

public class CgiQuercus
extends CliQuercus


Field Summary
 
Fields inherited from class com.caucho.quercus.QuercusContext
_envTimeout, _functionNameMap, ENV_TIMEOUT_UPDATE_INTERVAL, INI_ALWAYS_POPULATE_RAW_POST_DATA, INI_INCLUDE_PATH, INI_REGISTER_LONG_ARRAYS, INI_UNICODE_FALLBACK_ENCODING, INI_UNICODE_FROM_ERROR_MODE, INI_UNICODE_FROM_ERROR_SUBST_CHAR, INI_UNICODE_HTTP_INPUT_ENCODING, INI_UNICODE_OUTPUT_ENCODING, INI_UNICODE_RUNTIME_ENCODING, INI_UNICODE_SCRIPT_ENCODING, INI_UNICODE_SEMANTICS
 
Constructor Summary
CgiQuercus()
           
 
Method Summary
 Env createEnv(QuercusPage page, WriteStream out, HttpServletRequest request, HttpServletResponse response)
           
 void execute()
           
 java.lang.String getSapiName()
          Returns the SAPI (Server API) name.
static void main(java.lang.String[] args)
           
 
Methods inherited from class com.caucho.quercus.Quercus
execute, execute, getFileName, parseArgs, printUsage, setFileName
 
Methods inherited from class com.caucho.quercus.QuercusContext
addImplClass, addJavaClass, addJavaClass, addLowerConstantId, addModule, addModuleInfo, clearDefinitionCache, close, completeEnv, createExprFactory, createModuleContext, createPageManager, createSessionManager, createStaticName, createString, createUnicodeString, destroySession, extendFunctionMap, findClass, findClassId, findDatabase, findFunction, findFunctionId, findFunctionImpl, findJavaClassWrapper, findLowerFunctionImpl, findModule, getActiveEnvSet, getCachedClass, getClassCacheMap, getClassDef, getClassDefMap, getClassId, getClassIdCount, getClassMap, getClassName, getClassName, getCompileClassLoader, getConnection, getConstant, getConstantId, getConstantId, getConstantIdCount, getConstantLower, getConstantLowerId, getConstantMap, getConstantName, getCookieName, getCurrentTime, getDatabase, getDefCacheHitCount, getDefCacheMissCount, getDefinedFunctions, getDependencyCheckInterval, getExactTime, getExactTimeNanoseconds, getExtensionFuncs, getFunctionId, getFunctionIdCount, getFunctionMap, getIncludeCache, getIncludeCacheMax, getIncludeCacheTimeout, getIniBoolean, getIniDefinitions, getIniFile, getIniLong, getIniMap, getIniValue, getJavaClassDefinition, getJavaClassDefinition, getLoadedExtensions, getLocalContext, getLocalContext, getModuleContext, getModules, getModuleStartupListeners, getMysqlVersion, getPageCacheSize, getPhpVersion, getPhpVersionValue, getProfileIndex, getPwd, getQuercusSessionManager, getRegexpCacheSize, getScriptEncoding, getServerEnv, getServerEnvMap, getServletContext, getSessionCache, getSpecial, getStatement, getStdClass, getVersion, getVersionDate, getWorkDir, includeExists, init, initLocal, isAllowUrlFopen, isAllowUrlInclude, isClosed, isCompile, isConnectionPool, isExtensionLoaded, isLooseParse, isPro, isProfile, isRequireSource, isResin, isStrict, isSuperGlobal, isUnicodeSemantics, loadSession, markForPoolRemoval, objectToValue, parse, parse, parse, parseCode, parseEvalExpr, parseFunction, putIncludeCache, saveSession, setCachedClass, setCompile, setCompileClassLoader, setCompileFailover, setConnectionPool, setDatabase, setFunction, setIncludeCacheMax, setIncludeCacheTimeout, setIni, setIni, setIniFile, setLazyCompile, setLooseParse, setMysqlVersion, setPageCacheSize, setPhpVersion, setProfileProbability, setPwd, setRegexpCacheSize, setRequireSource, setScriptEncoding, setServerEnv, setServerEnv, setServletContext, setSessionTimeout, setSpecial, setStrict, setUnicodeSemantics, setWorkDir, start, startEnv
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CgiQuercus

public CgiQuercus()
Method Detail

createEnv

public Env createEnv(QuercusPage page,
                     WriteStream out,
                     HttpServletRequest request,
                     HttpServletResponse response)
Overrides:
createEnv in class QuercusContext

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

getSapiName

public java.lang.String getSapiName()
Returns the SAPI (Server API) name.

Overrides:
getSapiName in class Quercus

execute

public void execute()
             throws java.io.IOException
Overrides:
execute in class Quercus
Throws:
java.io.IOException