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 HttpContext
context
-
Constructor Summary
Constructors Constructor Description HttpContextResteasyConfiguration(HttpContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getInitParameter(String name)
Only provide parameter from a servlet or filter init param.Set<String>
getInitParameterNames()
String
getParameter(String name)
i.e.Set<String>
getParameterNames()
-
-
-
Field Detail
-
context
protected HttpContext context
-
-
Constructor Detail
-
HttpContextResteasyConfiguration
public HttpContextResteasyConfiguration(HttpContext context)
-
-
Method Detail
-
getParameter
public String getParameter(String name)
Description copied from interface:ResteasyConfiguration
i.e. Servlet init-param first is searched, then servlet context.- Specified by:
getParameter
in interfaceResteasyConfiguration
- Parameters:
name
- parameter name- Returns:
- parameter value
-
getParameterNames
public Set<String> getParameterNames()
- Specified by:
getParameterNames
in interfaceResteasyConfiguration
-
getInitParameter
public String getInitParameter(String name)
Description copied from interface:ResteasyConfiguration
Only provide parameter from a servlet or filter init param.- Specified by:
getInitParameter
in interfaceResteasyConfiguration
- Parameters:
name
- parameter name- Returns:
- parameter value
-
getInitParameterNames
public Set<String> getInitParameterNames()
- Specified by:
getInitParameterNames
in interfaceResteasyConfiguration
-
-