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

org.jboss.resteasy.spi.ResteasyConfiguration Maven / Gradle / Ivy

There is a newer version: 4.0.0.Beta5
Show newest version
package org.jboss.resteasy.spi;

import java.util.Set;

/**
 * @author Bill Burke
 * @version $Revision: 1 $
 * Context injectable interface that allows you to get at configuration information.  If resteasy is deployed
 * within a WAR this will allow you to reference servlet context, filter, and servlet parameters.
 */
public interface ResteasyConfiguration
{
   /**
    * i.e. Servlet init-param first is searched, then servlet context.
    *
    * @param name parameter name
    * @return parameter value
    */
   String getParameter(String name);

   Set getParameterNames();

   /**
    * Only provide parameter from a servlet or filter init param.
    *
    * @param name parameter name
    * @return parameter value
    */
   String getInitParameter(String name);

   Set getInitParameterNames();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy