All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.resteasy.links.ELProvider Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha3
Show newest version
package org.jboss.resteasy.links;

import jakarta.el.ELContext;

/**
 * Implement this interface to wrap, modify or extend RESTEasy's ELContext with
 * your own variable or method resolvers.
 *
 * @author Stéphane Épardaud
 */
public interface ELProvider {
    /**
     * 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.
     *
     * @param ctx the default content to wrap, extend, or just return as is.
     * @return the ELContext to use for @LinkResource
     */
    ELContext getContext(ELContext ctx);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy