com.sun.jersey.spi.container.servlet
Class WebServletConfig

java.lang.Object  extended by com.sun.jersey.spi.container.servlet.WebServletConfig
All Implemented Interfaces:
WebConfig

public class WebServletConfig
extends java.lang.Object
implements WebConfig

A servlet based web config. Delegates all invocations to the servlet configuration from the servlet api.

Author:
Paul Sandoz, guilherme silveira


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.ConfigTypegetConfigType()
          Get the configuration type of this config.
 ResourceConfiggetDefaultResourceConfig(java.util.Map<java.lang.String,java.lang.Object> props)
          Get the default ResourceConfig.
 java.lang.StringgetInitParameter(java.lang.String name)
          Get an initialization parameter.
 java.util.EnumerationgetInitParameterNames()
          Get the enumeration of initialization parameter names.
 java.lang.StringgetName()
          Get the name of the Web component.
 javax.servlet.ServletContextgetServletContext()
          Get the ServletContext.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServletConfig

public WebServletConfig(ServletContainer servlet)
Method Detail

getConfigType

public WebConfig.ConfigType getConfigType()
Description copied from interface: WebConfig
Get the configuration type of this config.

Specified by:
getConfigType in interface WebConfig
Returns:
the configuration type.

getName

public java.lang.String getName()
Description copied from interface: WebConfig
Get the name of the Web component.

Specified by:
getName in interface WebConfig
Returns:
the name of the Web component.

getInitParameter

public java.lang.String getInitParameter(java.lang.String name)
Description copied from interface: WebConfig
Get an initialization parameter.

Specified by:
getInitParameter in interface WebConfig
Parameters:
name - the parameter name.
Returns:
the parameter value, or null if the parameter is not present.

getInitParameterNames

public java.util.Enumeration getInitParameterNames()
Description copied from interface: WebConfig
Get the enumeration of initialization parameter names.

Specified by:
getInitParameterNames in interface WebConfig
Returns:
the enumeration of initialization parameter names.

getServletContext

public javax.servlet.ServletContext getServletContext()
Description copied from interface: WebConfig
Get the ServletContext.

Specified by:
getServletContext in interface WebConfig
Returns:
the ServletContext.

getDefaultResourceConfig

public ResourceConfig getDefaultResourceConfig(java.util.Map<java.lang.String,java.lang.Object> props)                                        throws javax.servlet.ServletException
Description copied from interface: WebConfig
Get the default ResourceConfig.

Specified by:
getDefaultResourceConfig in interface WebConfig
Parameters:
props - the map of properties.
Returns:
the default ResourceConfig.
Throws:
javax.servlet.ServletException


Copyright © 2011
Oracle Corporation. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14