A C D F G H I J L M O R S T U X

A

APPLICATION_SCOPE - Static variable in interface org.apache.bsf.utils.http.HttpScriptContext
Integer value for the level of APPLICATION_SCOPE

C

ContextHelper - Class in org.mozilla.javascript
Hack to enable creating E4X XML from Axiom OMElements outside of a script invocation.
ContextHelper() - Constructor for class org.mozilla.javascript.ContextHelper
 

D

defaultMethods - Static variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
DefaultXMLHelper - Class in org.apache.bsf.xml
Default XMLHelper for when no specific XMLHelper is implemented for a script engine.
DefaultXMLHelper() - Constructor for class org.apache.bsf.xml.DefaultXMLHelper
 
disableScript - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
disableScript() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
disableScript() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves a boolean value which indicates whether the script execution has been disabled in the Web Application.
displayResults - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
displayResults() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
displayResults() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves a boolean value which indicates whether the HttpScriptServlet executing in this context should display the results of script evaluations.

F

forward(String) - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
forward(String) - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Forwards the request to the resource identified by the specified relative path.
free(ScriptEngine) - Method in class org.apache.bsf.utils.http.ScriptEnginePool
 

G

GenericHttpScriptContext - Class in org.apache.bsf.utils.http
 
GenericHttpScriptContext() - Constructor for class org.apache.bsf.utils.http.GenericHttpScriptContext
 
get() - Method in class org.apache.bsf.utils.http.ScriptEnginePool
 
getAllowedLanguages() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getAllowedLanguages() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves an array of Strings describing the languages that may be used by scripts which is running in the associated HttpScriptContext.
getArgHelper(ScriptEngine) - Static method in class org.apache.bsf.xml.XMLHelper
 
getAttribute(String, Object, int) - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getContext(HttpServletRequest, HttpServletResponse) - Method in class org.apache.bsf.utils.http.HttpScriptServlet
Retrieves a HttpScriptContext initialized using specified HttpServletRequest, HttpServletResponse and a reference to this HttpScriptServlet.
getEngine(HttpServletRequest) - Method in class org.apache.bsf.utils.http.HttpScriptServlet
Returns a ScriptEngine instance which is used by the HttpScriptServlet to executes a single request.
getMethods() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getMethods() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves an array of string describing HTTP request methods which are handled by servlets executing in current context.
getRequest() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getRequest() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves a HttpScriptRequest for the current request.
getRequestDispatcher(String) - Method in class org.apache.bsf.utils.http.HttpScriptRequest
 
getResponse() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getResponse() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves a HttpScriptResponse for the current request.
getScriptSource() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getScriptSource() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves a reader form which the executing script can be read.
getServlet() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getServlet() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves the associated HttpScriptServlet.
getSession() - Method in class org.apache.bsf.utils.http.HttpScriptRequest
 
getWriter() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
getXMLHelper(ScriptEngine) - Static method in class org.apache.bsf.xml.JavaScriptE4XHelper
 

H

HttpScriptContext - Interface in org.apache.bsf.utils.http
HttpScriptContext is a subinteface of ScriptContext which is used to connect a ScriptEngine and implicit objects form a servlet container to for a single request.
HttpScriptRequest - Class in org.apache.bsf.utils.http
HttpScriptRequest class is a wrapper used to wrap HttpServletRequest in HttpScriptContext.getResponse() method.
HttpScriptRequest(HttpScriptContext, HttpServletRequest) - Constructor for class org.apache.bsf.utils.http.HttpScriptRequest
 
HttpScriptResponse - Class in org.apache.bsf.utils.http
HttpScriptResponse is a Wrapper class which is used to wrap the a HttpServletResponse in HttpScriptContext.getReponse() method.
HttpScriptResponse(HttpScriptContext, HttpServletResponse) - Constructor for class org.apache.bsf.utils.http.HttpScriptResponse
 
HttpScriptServlet - Class in org.apache.bsf.utils.http
HttpScriptServlet contains method which allows execution of scripts written in one or more languages.
HttpScriptServlet() - Constructor for class org.apache.bsf.utils.http.HttpScriptServlet
 

I

include(String) - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
include(String) - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Includes the resource in the sepcified relative path.
init() - Static method in class org.apache.bsf.xml.JavaScriptE4XAxiomHelper
 
initialize(Servlet, HttpServletRequest, HttpServletResponse) - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
initialize(Servlet, HttpServletRequest, HttpServletResponse) - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Initialize the current HttpScriptContext for processing of single request.
isMultithreadingSupported() - Method in class org.apache.bsf.utils.http.ScriptEnginePool
 

J

JavaScriptE4XAxiomHelper - Class in org.apache.bsf.xml
XMLHelper for JavaScript E4X using Axiom
JavaScriptE4XHelper - Class in org.apache.bsf.xml
XMLHelper for JavaScript E4X
JavaScriptE4XHelper() - Constructor for class org.apache.bsf.xml.JavaScriptE4XHelper
 
JavaScriptE4XXmlBeansHelper - Class in org.apache.bsf.xml
XMLHelper for JavaScript E4X using XmlBeans
JRubyReXMLHelper - Class in org.apache.bsf.xml
XMLHelper for Ruby ReXML TODO: Find a more efficent way to do this with JRuby

L

languages - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 

M

Main - Class in org.apache.bsf
This is the main driver for BSF to be run on the command line to eval scripts directly.
Main() - Constructor for class org.apache.bsf.Main
 
main(String[]) - Static method in class org.apache.bsf.Main
Static driver to be able to run BSF scripts from the command line.
methods - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 

O

org.apache.bsf - package org.apache.bsf
Command-line utility for exercising the scripting API.
org.apache.bsf.utils.http - package org.apache.bsf.utils.http
This package is INCOMPLETE.
org.apache.bsf.xml - package org.apache.bsf.xml
Utility classes for converting between Java representations of XML and script languages.
org.mozilla.javascript - package org.mozilla.javascript
Hack to enable creating E4X XML from Axiom OMElements outside of a script invocation.

R

release() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
release() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Clears any state stored in the current HttpScriptContext such that it can be reused to serve another request.
releaseEngine(ScriptEngine) - Method in class org.apache.bsf.utils.http.HttpScriptServlet
Called to indicate that the ScriptEngine returned by call to getEngine() is no longer in use.
request - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
REQUEST_SCOPE - Static variable in interface org.apache.bsf.utils.http.HttpScriptContext
Integer value for the level of SCRIPT_SCOPE
response - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 

S

scriptDir - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
ScriptEnginePool - Class in org.apache.bsf.utils.http
 
ScriptEnginePool(ScriptEngineFactory, int) - Constructor for class org.apache.bsf.utils.http.ScriptEnginePool
 
ScriptEnginePool(ScriptEngineFactory) - Constructor for class org.apache.bsf.utils.http.ScriptEnginePool
 
service(ServletRequest, ServletResponse) - Method in class org.apache.bsf.utils.http.HttpScriptServlet
Executes a script using the HttpScriptContext obtained by a call to getContext() and the ScriptEngine obtained by a call to getEngine().
servlet - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
SESSION_SCOPE - Static variable in interface org.apache.bsf.utils.http.HttpScriptContext
Integer value for the level of SESSION_SCOPE
setAttribute(String, Object, int) - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
setTopCallScope(Context, Scriptable) - Static method in class org.mozilla.javascript.ContextHelper
 

T

toDOMNode(Object) - Method in class org.apache.bsf.xml.DefaultXMLHelper
 
toDOMNode(Object) - Method in class org.apache.bsf.xml.XMLHelper
 
toOMElement(Object) - Method in class org.apache.bsf.xml.DefaultXMLHelper
 
toOMElement(Object) - Method in class org.apache.bsf.xml.JavaScriptE4XAxiomHelper
 
toOMElement(Object) - Method in class org.apache.bsf.xml.JavaScriptE4XXmlBeansHelper
 
toOMElement(Object) - Method in class org.apache.bsf.xml.JRubyReXMLHelper
 
toOMElement(Object) - Method in class org.apache.bsf.xml.XMLHelper
 
toScriptXML(OMElement) - Method in class org.apache.bsf.xml.DefaultXMLHelper
 
toScriptXML(XMLStreamReader) - Method in class org.apache.bsf.xml.DefaultXMLHelper
 
toScriptXML(Node) - Method in class org.apache.bsf.xml.DefaultXMLHelper
 
toScriptXML(OMElement) - Method in class org.apache.bsf.xml.JavaScriptE4XAxiomHelper
 
toScriptXML(OMElement) - Method in class org.apache.bsf.xml.JavaScriptE4XXmlBeansHelper
 
toScriptXML(OMElement) - Method in class org.apache.bsf.xml.JRubyReXMLHelper
 
toScriptXML(OMElement) - Method in class org.apache.bsf.xml.XMLHelper
 
toScriptXML(XMLStreamReader) - Method in class org.apache.bsf.xml.XMLHelper
 
toScriptXML(Node) - Method in class org.apache.bsf.xml.XMLHelper
 
toXMLStreamReader(Object) - Method in class org.apache.bsf.xml.DefaultXMLHelper
 
toXMLStreamReader(Object) - Method in class org.apache.bsf.xml.XMLHelper
 

U

useSession - Variable in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
useSession() - Method in class org.apache.bsf.utils.http.GenericHttpScriptContext
 
useSession() - Method in interface org.apache.bsf.utils.http.HttpScriptContext
Retrieves a boolean value which indicates whether the HttpSession associated with the current request is exposed in SESSION_SCOPE attribute and in the HttpScriptRequest.

X

XMLHelper - Class in org.apache.bsf.xml
Utility for converting between Java representations of XML such DOM nodes, StAX streams, or Axiom OMElements, into script language representations such as JavaScript E4X, Ruby ReXML, or Python ElementTree.
XMLHelper() - Constructor for class org.apache.bsf.xml.XMLHelper
 

A C D F G H I J L M O R S T U X

Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.