Class RequestXelResolver

  • All Implemented Interfaces:
    VariableResolver

    public abstract class RequestXelResolver
    extends java.lang.Object
    implements VariableResolver
    A XEL variable resolver that is based on Servlet request, response, and EL.
    Since:
    3.0.0
    Author:
    tomyeh
    • Constructor Detail

      • RequestXelResolver

        public RequestXelResolver​(javax.servlet.ServletContext ctx,
                                  javax.servlet.ServletRequest request,
                                  javax.servlet.ServletResponse response)
        Request-based resolver.
        Parameters:
        ctx - the context; which might be null
        request - the request. It cannot be null.
        response - the response, which might bell.
        Throws:
        java.lang.IllegalArgumentException - if request is null.
      • RequestXelResolver

        public RequestXelResolver​(javax.servlet.ServletContext ctx,
                                  javax.servlet.ServletRequest request)
      • RequestXelResolver

        public RequestXelResolver​(javax.servlet.ServletRequest request)
    • Method Detail

      • getExpressionFactory

        public abstract ExpressionFactory getExpressionFactory()
        Returns the expression factory (never null).

        The deriving class must override it.

      • getPageContext

        public PageContext getPageContext()
        Returns the page context.
      • getRequest

        public javax.servlet.ServletRequest getRequest()
        Returns the request.
      • getResponse

        public javax.servlet.ServletResponse getResponse()
        Returns the response.
      • getServletContext

        public javax.servlet.ServletContext getServletContext()
        Returns the context.