Interface ELProvider


  • public interface ELProvider
    Implement this interface to wrap, modify or extend RESTEasy's ELContext with your own variable or method resolvers.
    Author:
    Stéphane Épardaud
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javax.el.ELContext getContext​(javax.el.ELContext ctx)
      Returns an ELContext to use for any @LinkResource constraint and pathParameters.
    • Method Detail

      • getContext

        javax.el.ELContext getContext​(javax.el.ELContext ctx)
        Returns an ELContext to use for any @LinkResource constraint and pathParameters. You can wrap the given default context or extend it, but you must return something.
        Parameters:
        ctx - the default content to wrap, extend, or just return as is.
        Returns:
        the ELContext to use for @LinkResource