Class PageContextImpl
- java.lang.Object
-
- javax.servlet.jsp.JspContext
-
- javax.servlet.jsp.PageContext
-
- org.apache.jasper.runtime.PageContextImpl
-
public class PageContextImpl extends PageContext
Implementation of the PageContext class from the JSP spec.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<java.lang.String,java.lang.Object>attributesprivate JspWriterImplbaseOutprivate intbufferSizeprivate javax.servlet.ServletConfigconfigprivate javax.servlet.ServletContextcontextprivate intdepthprivate javax.el.ELContextelContextprivate javax.el.ELResolverelResolverprivate java.lang.StringerrorPageURLprivate JspFactoryfactoryprivate booleanisNametableInitializedprivate JspApplicationContextImpljspApplicationContextprivate static java.util.logging.Loggerlogprivate booleanneedsSessionprivate JspWriteroutprivate BodyContentImpl[]outsprivate javax.servlet.ServletRequestrequestprivate javax.servlet.ServletResponseresponseprivate javax.servlet.Servletservletprivate javax.servlet.http.HttpSessionsession-
Fields inherited from class javax.servlet.jsp.PageContext
APPLICATION, APPLICATION_SCOPE, CONFIG, EXCEPTION, OUT, PAGE, PAGE_SCOPE, PAGECONTEXT, REQUEST, REQUEST_SCOPE, RESPONSE, SESSION, SESSION_SCOPE
-
-
Constructor Summary
Constructors Constructor Description PageContextImpl(JspFactory factory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void_initialize(javax.servlet.Servlet servlet, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush)private java.lang.ObjectdoFindAttribute(java.lang.String name)private java.lang.ObjectdoGetAttribute(java.lang.String name)private java.lang.ObjectdoGetAttribute(java.lang.String name, int scope)private java.util.Enumeration<java.lang.String>doGetAttributeNamesInScope(int scope)private intdoGetAttributeScope(java.lang.String name)private voiddoHandlePageException(java.lang.Throwable t)private voiddoRemoveAttribute(java.lang.String name)private voiddoRemoveAttribute(java.lang.String name, int scope)private voiddoSetAttribute(java.lang.String name, java.lang.Object attribute)private voiddoSetAttribute(java.lang.String name, java.lang.Object o, int scope)static java.lang.ObjectevaluateExpression(java.lang.String expression, java.lang.Class expectedType, PageContext pageContext, ProtectedFunctionMapper functionMap)Evaluates an EL expressionjava.lang.ObjectfindAttribute(java.lang.String name)Searches for the named attribute in page, request, session (if valid), and application scope(s) in order and returns the value associated or null.voidforward(java.lang.String relativeUrlPath)This method is used to re-direct, or "forward" the current ServletRequest and ServletResponse to another active component in the application.private java.lang.StringgetAbsolutePathRelativeToContext(java.lang.String relativeUrlPath)java.lang.ObjectgetAttribute(java.lang.String name)Returns the object associated with the name in the page scope or null if not found.java.lang.ObjectgetAttribute(java.lang.String name, int scope)Return the object associated with the name in the specified scope or null if not found.java.util.Enumeration<java.lang.String>getAttributeNamesInScope(int scope)Enumerate all the attributes in a given scope.intgetAttributesScope(java.lang.String name)Get the scope where a given attribute is defined.javax.el.ELContextgetELContext()Returns theELContextassociated with thisJspContext.private javax.el.ELResolvergetELResolver()java.lang.ExceptiongetException()Returns the exception associated with this page context, if any.ExpressionEvaluatorgetExpressionEvaluator()Provides programmatic access to the ExpressionEvaluator.private static javax.el.ExpressionFactorygetExpressionFactory(PageContext pageContext)(package private) JspApplicationContextImplgetJspApplicationContext()static javax.el.MethodExpressiongetMethodExpression(java.lang.String expression, PageContext pageContext, javax.el.FunctionMapper functionMap, java.lang.Class expectedType, java.lang.Class[] paramTypes)JspWritergetOut()The current value of the out object (a JspWriter).java.lang.ObjectgetPage()The current value of the page object (In a Servlet environment, this is an instance of javax.servlet.Servlet).javax.servlet.ServletRequestgetRequest()The current value of the request object (a ServletRequest).javax.servlet.ServletResponsegetResponse()The current value of the response object (a ServletResponse).javax.servlet.ServletgetServlet()javax.servlet.ServletConfiggetServletConfig()The ServletConfig instance.javax.servlet.ServletContextgetServletContext()The ServletContext instance.javax.servlet.http.HttpSessiongetSession()The current value of the session object (an HttpSession).static javax.el.ValueExpressiongetValueExpression(java.lang.String expression, PageContext pageContext, java.lang.Class expectedType, javax.el.FunctionMapper functionMap)VariableResolvergetVariableResolver()Returns an instance of a VariableResolver that provides access to the implicit objects specified in the JSP specification using this JspContext as the context object.voidhandlePageException(java.lang.Exception ex)This method is intended to process an unhandled 'page' level exception by forwarding the exception to the specified error page for this JSP.voidhandlePageException(java.lang.Throwable t)This method is intended to process an unhandled 'page' level exception by forwarding the exception to the specified error page for this JSP.voidinclude(java.lang.String relativeUrlPath)Causes the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread.voidinclude(java.lang.String relativeUrlPath, boolean flush)Causes the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread.voidinitialize(javax.servlet.Servlet servlet, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush)The initialize method is called to initialize an uninitialized PageContext so that it may be used by a JSP Implementation class to service an incoming request and response within it's _jspService() method.private voidinitializePageScopeNameTable()JspWriterpopBody()Return the previous JspWriter "out" saved by the matching pushBody(), and update the value of the "out" attribute in the page scope attribute namespace of the JspContext.BodyContentpushBody()Return a new BodyContent object, save the current "out" JspWriter, and update the value of the "out" attribute in the page scope attribute namespace of the PageContext.JspWriterpushBody(java.io.Writer writer)Return a new JspWriter object that sends output to the provided Writer.voidrelease()This method shall "reset" the internal state of a PageContext, releasing all internal references, and preparing the PageContext for potential reuse by a later invocation of initialize().voidremoveAttribute(java.lang.String name)Remove the object reference associated with the given name from all scopes.voidremoveAttribute(java.lang.String name, int scope)Remove the object reference associated with the specified name in the given scope.voidsetAttribute(java.lang.String name, java.lang.Object attribute)Register the name and value specified with page scope semantics.voidsetAttribute(java.lang.String name, java.lang.Object o, int scope)Register the name and value specified with appropriate scope semantics.static voidsetMethodVariable(PageContext pageContext, java.lang.String variable, javax.el.MethodExpression expression)static voidsetValueVariable(PageContext pageContext, java.lang.String variable, javax.el.ValueExpression expression)-
Methods inherited from class javax.servlet.jsp.PageContext
getErrorData
-
-
-
-
Field Detail
-
log
private static java.util.logging.Logger log
-
outs
private BodyContentImpl[] outs
-
depth
private int depth
-
servlet
private javax.servlet.Servlet servlet
-
config
private javax.servlet.ServletConfig config
-
context
private javax.servlet.ServletContext context
-
factory
private JspFactory factory
-
needsSession
private boolean needsSession
-
errorPageURL
private java.lang.String errorPageURL
-
bufferSize
private int bufferSize
-
jspApplicationContext
private JspApplicationContextImpl jspApplicationContext
-
elResolver
private javax.el.ELResolver elResolver
-
elContext
private javax.el.ELContext elContext
-
attributes
private java.util.HashMap<java.lang.String,java.lang.Object> attributes
-
isNametableInitialized
private boolean isNametableInitialized
-
request
private javax.servlet.ServletRequest request
-
response
private javax.servlet.ServletResponse response
-
session
private javax.servlet.http.HttpSession session
-
out
private JspWriter out
-
baseOut
private JspWriterImpl baseOut
-
-
Constructor Detail
-
PageContextImpl
PageContextImpl(JspFactory factory)
-
-
Method Detail
-
initialize
public void initialize(javax.servlet.Servlet servlet, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws java.io.IOExceptionDescription copied from class:PageContextThe initialize method is called to initialize an uninitialized PageContext so that it may be used by a JSP Implementation class to service an incoming request and response within it's _jspService() method.
This method is typically called from JspFactory.getPageContext() in order to initialize state.
This method is required to create an initial JspWriter, and associate the "out" name in page scope with this newly created object.
This method should not be used by page or tag library authors.
- Specified by:
initializein classPageContext- Parameters:
servlet- The Servlet that is associated with this PageContextrequest- The currently pending request for this Servletresponse- The currently pending response for this ServleterrorPageURL- The value of the errorpage attribute from the page directive or nullneedsSession- The value of the session attribute from the page directivebufferSize- The value of the buffer attribute from the page directiveautoFlush- The value of the autoflush attribute from the page directive- Throws:
java.io.IOException- during creation of JspWriter
-
_initialize
private void _initialize(javax.servlet.Servlet servlet, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) throws java.io.IOException- Throws:
java.io.IOException
-
initializePageScopeNameTable
private void initializePageScopeNameTable()
-
release
public void release()
Description copied from class:PageContextThis method shall "reset" the internal state of a PageContext, releasing all internal references, and preparing the PageContext for potential reuse by a later invocation of initialize(). This method is typically called from JspFactory.releasePageContext().
Subclasses shall envelope this method.
This method should not be used by page or tag library authors.
- Specified by:
releasein classPageContext
-
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
Description copied from class:JspContextReturns the object associated with the name in the page scope or null if not found.- Specified by:
getAttributein classJspContext- Parameters:
name- the name of the attribute to get- Returns:
- the object associated with the name in the page scope or null if not found.
-
doGetAttribute
private java.lang.Object doGetAttribute(java.lang.String name)
-
getAttribute
public java.lang.Object getAttribute(java.lang.String name, int scope)Description copied from class:JspContextReturn the object associated with the name in the specified scope or null if not found.- Specified by:
getAttributein classJspContext- Parameters:
name- the name of the attribute to setscope- the scope with which to associate the name/object- Returns:
- the object associated with the name in the specified scope or null if not found.
-
doGetAttribute
private java.lang.Object doGetAttribute(java.lang.String name, int scope)
-
setAttribute
public void setAttribute(java.lang.String name, java.lang.Object attribute)Description copied from class:JspContextRegister the name and value specified with page scope semantics. If the value passed in isnull, this has the same effect as callingremoveAttribute( name, PageContext.PAGE_SCOPE ).- Specified by:
setAttributein classJspContext- Parameters:
name- the name of the attribute to setattribute- the value to associate with the name, or null if the attribute is to be removed from the page scope.
-
doSetAttribute
private void doSetAttribute(java.lang.String name, java.lang.Object attribute)
-
setAttribute
public void setAttribute(java.lang.String name, java.lang.Object o, int scope)Description copied from class:JspContextRegister the name and value specified with appropriate scope semantics. If the value passed in isnull, this has the same effect as callingremoveAttribute( name, scope ).- Specified by:
setAttributein classJspContext- Parameters:
name- the name of the attribute to seto- the object to associate with the name, or null if the attribute is to be removed from the specified scope.scope- the scope with which to associate the name/object
-
doSetAttribute
private void doSetAttribute(java.lang.String name, java.lang.Object o, int scope)
-
removeAttribute
public void removeAttribute(java.lang.String name, int scope)Description copied from class:JspContextRemove the object reference associated with the specified name in the given scope. Does nothing if there is no such object.- Specified by:
removeAttributein classJspContext- Parameters:
name- The name of the object to remove.scope- The scope where to look.
-
doRemoveAttribute
private void doRemoveAttribute(java.lang.String name, int scope)
-
getAttributesScope
public int getAttributesScope(java.lang.String name)
Description copied from class:JspContextGet the scope where a given attribute is defined.- Specified by:
getAttributesScopein classJspContext- Parameters:
name- the name of the attribute to return the scope for- Returns:
- the scope of the object associated with the name specified or 0
-
doGetAttributeScope
private int doGetAttributeScope(java.lang.String name)
-
findAttribute
public java.lang.Object findAttribute(java.lang.String name)
Description copied from class:JspContextSearches for the named attribute in page, request, session (if valid), and application scope(s) in order and returns the value associated or null.- Specified by:
findAttributein classJspContext- Parameters:
name- the name of the attribute to search for- Returns:
- the value associated or null
-
doFindAttribute
private java.lang.Object doFindAttribute(java.lang.String name)
-
getAttributeNamesInScope
public java.util.Enumeration<java.lang.String> getAttributeNamesInScope(int scope)
Description copied from class:JspContextEnumerate all the attributes in a given scope.- Specified by:
getAttributeNamesInScopein classJspContext- Parameters:
scope- the scope to enumerate all the attributes for- Returns:
- an enumeration of names (java.lang.String) of all the attributes the specified scope
-
doGetAttributeNamesInScope
private java.util.Enumeration<java.lang.String> doGetAttributeNamesInScope(int scope)
-
removeAttribute
public void removeAttribute(java.lang.String name)
Description copied from class:JspContextRemove the object reference associated with the given name from all scopes. Does nothing if there is no such object.- Specified by:
removeAttributein classJspContext- Parameters:
name- The name of the object to remove.
-
doRemoveAttribute
private void doRemoveAttribute(java.lang.String name)
-
getOut
public JspWriter getOut()
Description copied from class:JspContextThe current value of the out object (a JspWriter).- Specified by:
getOutin classJspContext- Returns:
- the current JspWriter stream being used for client response
-
getSession
public javax.servlet.http.HttpSession getSession()
Description copied from class:PageContextThe current value of the session object (an HttpSession).- Specified by:
getSessionin classPageContext- Returns:
- the HttpSession for this PageContext or null
-
getServlet
public javax.servlet.Servlet getServlet()
-
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
Description copied from class:PageContextThe ServletConfig instance.- Specified by:
getServletConfigin classPageContext- Returns:
- the ServletConfig for this PageContext
-
getServletContext
public javax.servlet.ServletContext getServletContext()
Description copied from class:PageContextThe ServletContext instance.- Specified by:
getServletContextin classPageContext- Returns:
- the ServletContext for this PageContext
-
getRequest
public javax.servlet.ServletRequest getRequest()
Description copied from class:PageContextThe current value of the request object (a ServletRequest).- Specified by:
getRequestin classPageContext- Returns:
- The ServletRequest for this PageContext
-
getResponse
public javax.servlet.ServletResponse getResponse()
Description copied from class:PageContextThe current value of the response object (a ServletResponse).- Specified by:
getResponsein classPageContext- Returns:
- the ServletResponse for this PageContext
-
getException
public java.lang.Exception getException()
Returns the exception associated with this page context, if any. Added wrapping for Throwables to avoid ClassCastException (see Bugzilla 31171 for details).- Specified by:
getExceptionin classPageContext- Returns:
- The Exception associated with this page context, if any.
-
getPage
public java.lang.Object getPage()
Description copied from class:PageContextThe current value of the page object (In a Servlet environment, this is an instance of javax.servlet.Servlet).- Specified by:
getPagein classPageContext- Returns:
- the Page implementation class instance associated with this PageContext
-
getAbsolutePathRelativeToContext
private final java.lang.String getAbsolutePathRelativeToContext(java.lang.String relativeUrlPath)
-
include
public void include(java.lang.String relativeUrlPath) throws javax.servlet.ServletException, java.io.IOExceptionDescription copied from class:PageContextCauses the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread. The output of the target resources processing of the request is written directly to the ServletResponse output stream.
The current JspWriter "out" for this JSP is flushed as a side-effect of this call, prior to processing the include.
If the relativeUrlPath begins with a "/" then the URL specified is calculated relative to the DOCROOT of the
ServletContextfor this JSP. If the path does not begin with a "/" then the URL specified is calculated relative to the URL of the request that was mapped to the calling JSP.It is only valid to call this method from a
Threadexecuting within a_jspService(...)method of a JSP.- Specified by:
includein classPageContext- Parameters:
relativeUrlPath- specifies the relative URL path to the target resource to be included- Throws:
javax.servlet.ServletException- if the page that was forwarded to throws a ServletExceptionjava.io.IOException- if an I/O error occurred while forwarding
-
include
public void include(java.lang.String relativeUrlPath, boolean flush) throws javax.servlet.ServletException, java.io.IOExceptionDescription copied from class:PageContextCauses the resource specified to be processed as part of the current ServletRequest and ServletResponse being processed by the calling Thread. The output of the target resources processing of the request is written directly to the current JspWriter returned by a call to getOut().
If flush is true, The current JspWriter "out" for this JSP is flushed as a side-effect of this call, prior to processing the include. Otherwise, the JspWriter "out" is not flushed.
If the relativeUrlPath begins with a "/" then the URL specified is calculated relative to the DOCROOT of the
ServletContextfor this JSP. If the path does not begin with a "/" then the URL specified is calculated relative to the URL of the request that was mapped to the calling JSP.It is only valid to call this method from a
Threadexecuting within a_jspService(...)method of a JSP.- Specified by:
includein classPageContext- Parameters:
relativeUrlPath- specifies the relative URL path to the target resource to be includedflush- True if the JspWriter is to be flushed before the include, or false if not.- Throws:
javax.servlet.ServletException- if the page that was forwarded to throws a ServletExceptionjava.io.IOException- if an I/O error occurred while forwarding
-
getVariableResolver
public VariableResolver getVariableResolver()
Description copied from class:JspContextReturns an instance of a VariableResolver that provides access to the implicit objects specified in the JSP specification using this JspContext as the context object.- Specified by:
getVariableResolverin classJspContext- Returns:
- A valid instance of a VariableResolver.
-
getELResolver
private javax.el.ELResolver getELResolver()
-
getELContext
public javax.el.ELContext getELContext()
Description copied from class:JspContextReturns theELContextassociated with thisJspContext.The
ELContextis created lazily and is reused if it already exists. There is a newELContextfor eachJspContext.The
ELContextmust contain theELResolverdescribed in the JSP specification (and in the javadocs forJspApplicationContext.addELResolver(javax.el.ELResolver)).- Specified by:
getELContextin classJspContext- Returns:
- The
ELContextassociated with thisJspContext.
-
getJspApplicationContext
JspApplicationContextImpl getJspApplicationContext()
-
forward
public void forward(java.lang.String relativeUrlPath) throws javax.servlet.ServletException, java.io.IOExceptionDescription copied from class:PageContextThis method is used to re-direct, or "forward" the current ServletRequest and ServletResponse to another active component in the application.
If the relativeUrlPath begins with a "/" then the URL specified is calculated relative to the DOCROOT of the
ServletContextfor this JSP. If the path does not begin with a "/" then the URL specified is calculated relative to the URL of the request that was mapped to the calling JSP.It is only valid to call this method from a
Threadexecuting within a_jspService(...)method of a JSP.Once this method has been called successfully, it is illegal for the calling
Threadto attempt to modify theServletResponseobject. Any such attempt to do so, shall result in undefined behavior. Typically, callers immediately return from_jspService(...)after calling this method.- Specified by:
forwardin classPageContext- Parameters:
relativeUrlPath- specifies the relative URL path to the target resource as described above- Throws:
javax.servlet.ServletException- if the page that was forwarded to throws a ServletExceptionjava.io.IOException- if an I/O error occurred while forwarding
-
pushBody
public BodyContent pushBody()
Description copied from class:PageContextReturn a new BodyContent object, save the current "out" JspWriter, and update the value of the "out" attribute in the page scope attribute namespace of the PageContext.- Overrides:
pushBodyin classPageContext- Returns:
- the new BodyContent
-
pushBody
public JspWriter pushBody(java.io.Writer writer)
Description copied from class:JspContextReturn a new JspWriter object that sends output to the provided Writer. Saves the current "out" JspWriter, and updates the value of the "out" attribute in the page scope attribute namespace of the JspContext.The returned JspWriter must implement all methods and behave as though it were unbuffered. More specifically:
- clear() must throw an IOException
- clearBuffer() does nothing
- getBufferSize() always returns 0
- getRemaining() always returns 0
- Overrides:
pushBodyin classJspContext- Parameters:
writer- The Writer for the returned JspWriter to send output to.- Returns:
- a new JspWriter that writes to the given Writer.
-
popBody
public JspWriter popBody()
Description copied from class:JspContextReturn the previous JspWriter "out" saved by the matching pushBody(), and update the value of the "out" attribute in the page scope attribute namespace of the JspContext.- Overrides:
popBodyin classJspContext- Returns:
- the saved JspWriter.
-
getExpressionEvaluator
public ExpressionEvaluator getExpressionEvaluator()
Provides programmatic access to the ExpressionEvaluator. The JSP Container must return a valid instance of an ExpressionEvaluator that can parse EL expressions.- Specified by:
getExpressionEvaluatorin classJspContext- Returns:
- A valid instance of an ExpressionEvaluator.
-
handlePageException
public void handlePageException(java.lang.Exception ex) throws java.io.IOException, javax.servlet.ServletExceptionDescription copied from class:PageContextThis method is intended to process an unhandled 'page' level exception by forwarding the exception to the specified error page for this JSP. If forwarding is not possible (for example because the response has already been committed), an implementation dependent mechanism should be used to invoke the error page (e.g. "including" the error page instead).
If no error page is defined in the page, the exception should be rethrown so that the standard servlet error handling takes over.
A JSP implementation class shall typically clean up any local state prior to invoking this and will return immediately thereafter. It is illegal to generate any output to the client, or to modify any ServletResponse state after invoking this call.
This method is kept for backwards compatiblity reasons. Newly generated code should use PageContext.handlePageException(Throwable).
- Specified by:
handlePageExceptionin classPageContext- Parameters:
ex- the exception to be handled- Throws:
java.io.IOException- if an I/O error occurred while invoking the error pagejavax.servlet.ServletException- if an error occurs while invoking the error page- See Also:
PageContext.handlePageException(Throwable)
-
handlePageException
public void handlePageException(java.lang.Throwable t) throws java.io.IOException, javax.servlet.ServletExceptionDescription copied from class:PageContextThis method is intended to process an unhandled 'page' level exception by forwarding the exception to the specified error page for this JSP. If forwarding is not possible (for example because the response has already been committed), an implementation dependent mechanism should be used to invoke the error page (e.g. "including" the error page instead).
If no error page is defined in the page, the exception should be rethrown so that the standard servlet error handling takes over.
This method is intended to process an unhandled "page" level exception by redirecting the exception to either the specified error page for this JSP, or if none was specified, to perform some implementation dependent action.
A JSP implementation class shall typically clean up any local state prior to invoking this and will return immediately thereafter. It is illegal to generate any output to the client, or to modify any ServletResponse state after invoking this call.
- Specified by:
handlePageExceptionin classPageContext- Parameters:
t- the throwable to be handled- Throws:
java.io.IOException- if an I/O error occurred while invoking the error pagejavax.servlet.ServletException- if an error occurs while invoking the error page- See Also:
PageContext.handlePageException(Exception)
-
doHandlePageException
private void doHandlePageException(java.lang.Throwable t) throws java.io.IOException, javax.servlet.ServletException- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
getExpressionFactory
private static javax.el.ExpressionFactory getExpressionFactory(PageContext pageContext)
-
evaluateExpression
public static java.lang.Object evaluateExpression(java.lang.String expression, java.lang.Class expectedType, PageContext pageContext, ProtectedFunctionMapper functionMap) throws javax.el.ELExceptionEvaluates an EL expression- Parameters:
expression- The expression to be evaluatedexpectedType- The expected resulting typepageContext- The page contextfunctionMap- Maps prefix and name to Method- Returns:
- The result of the evaluation
- Throws:
javax.el.ELException
-
getValueExpression
public static javax.el.ValueExpression getValueExpression(java.lang.String expression, PageContext pageContext, java.lang.Class expectedType, javax.el.FunctionMapper functionMap)
-
getMethodExpression
public static javax.el.MethodExpression getMethodExpression(java.lang.String expression, PageContext pageContext, javax.el.FunctionMapper functionMap, java.lang.Class expectedType, java.lang.Class[] paramTypes)
-
setValueVariable
public static void setValueVariable(PageContext pageContext, java.lang.String variable, javax.el.ValueExpression expression)
-
setMethodVariable
public static void setMethodVariable(PageContext pageContext, java.lang.String variable, javax.el.MethodExpression expression)
-
-