|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jersey.spi.container.servlet.WebServletConfig
public class WebServletConfig
A servlet based web config. Delegates all invocations to the servlet configuration from the servlet api.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.sun.jersey.spi.container.servlet.WebConfig |
|---|
WebConfig.ConfigType |
| Constructor Summary | |
|---|---|
WebServletConfig(ServletContainer servlet)
|
|
| Method Summary | |
|---|---|
WebConfig.ConfigType |
getConfigType()
Get the configuration type of this config. |
ResourceConfig |
getDefaultResourceConfig(java.util.Map<java.lang.String,java.lang.Object> props)
Get the default ResourceConfig. |
java.lang.String |
getInitParameter(java.lang.String name)
Get an initialization parameter. |
java.util.Enumeration |
getInitParameterNames()
Get the enumeration of initialization parameter names. |
java.lang.String |
getName()
Get the name of the Web component. |
javax.servlet.ServletContext |
getServletContext()
Get the ServletContext. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebServletConfig(ServletContainer servlet)
| Method Detail |
|---|
public WebConfig.ConfigType getConfigType()
WebConfig
getConfigType in interface WebConfigpublic java.lang.String getName()
WebConfig
getName in interface WebConfigpublic java.lang.String getInitParameter(java.lang.String name)
WebConfig
getInitParameter in interface WebConfigname - the parameter name.
public java.util.Enumeration getInitParameterNames()
WebConfig
getInitParameterNames in interface WebConfigpublic javax.servlet.ServletContext getServletContext()
WebConfigServletContext.
getServletContext in interface WebConfigServletContext.
public ResourceConfig getDefaultResourceConfig(java.util.Map<java.lang.String,java.lang.Object> props)
throws javax.servlet.ServletException
WebConfigResourceConfig.
getDefaultResourceConfig in interface WebConfigprops - the map of properties.
ResourceConfig.
javax.servlet.ServletException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||