Class HttpContextResteasyConfiguration
- java.lang.Object
-
- org.jboss.resteasy.plugins.server.sun.http.HttpContextResteasyConfiguration
-
- All Implemented Interfaces:
ResteasyConfiguration
public class HttpContextResteasyConfiguration extends Object implements ResteasyConfiguration
ResteasyConfiguration adapter for HttpContext attributes- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected com.sun.net.httpserver.HttpContextcontext
-
Constructor Summary
Constructors Constructor Description HttpContextResteasyConfiguration(com.sun.net.httpserver.HttpContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInitParameter(String name)Only provide parameter from a servlet or filter init param.Set<String>getInitParameterNames()StringgetParameter(String name)i.e.Set<String>getParameterNames()
-
-
-
Method Detail
-
getParameter
public String getParameter(String name)
Description copied from interface:ResteasyConfigurationi.e. Servlet init-param first is searched, then servlet context.- Specified by:
getParameterin interfaceResteasyConfiguration- Parameters:
name- parameter name- Returns:
- parameter value
-
getParameterNames
public Set<String> getParameterNames()
- Specified by:
getParameterNamesin interfaceResteasyConfiguration
-
getInitParameter
public String getInitParameter(String name)
Description copied from interface:ResteasyConfigurationOnly provide parameter from a servlet or filter init param.- Specified by:
getInitParameterin interfaceResteasyConfiguration- Parameters:
name- parameter name- Returns:
- parameter value
-
getInitParameterNames
public Set<String> getInitParameterNames()
- Specified by:
getInitParameterNamesin interfaceResteasyConfiguration
-
-