|
|
|
@ -26,9 +26,6 @@ import javax.servlet.Servlet; |
|
|
|
import javax.servlet.ServletContext; |
|
|
|
import javax.servlet.ServletContext; |
|
|
|
import javax.servlet.ServletRegistration; |
|
|
|
import javax.servlet.ServletRegistration; |
|
|
|
|
|
|
|
|
|
|
|
import org.apache.commons.logging.Log; |
|
|
|
|
|
|
|
import org.apache.commons.logging.LogFactory; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.util.Assert; |
|
|
|
import org.springframework.util.Assert; |
|
|
|
import org.springframework.util.ObjectUtils; |
|
|
|
import org.springframework.util.ObjectUtils; |
|
|
|
import org.springframework.util.StringUtils; |
|
|
|
import org.springframework.util.StringUtils; |
|
|
|
@ -54,8 +51,6 @@ import org.springframework.util.StringUtils; |
|
|
|
public class ServletRegistrationBean<T extends Servlet> |
|
|
|
public class ServletRegistrationBean<T extends Servlet> |
|
|
|
extends DynamicRegistrationBean<ServletRegistration.Dynamic> { |
|
|
|
extends DynamicRegistrationBean<ServletRegistration.Dynamic> { |
|
|
|
|
|
|
|
|
|
|
|
private static final Log logger = LogFactory.getLog(ServletRegistrationBean.class); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static final String[] DEFAULT_MAPPINGS = { "/*" }; |
|
|
|
private static final String[] DEFAULT_MAPPINGS = { "/*" }; |
|
|
|
|
|
|
|
|
|
|
|
private T servlet; |
|
|
|
private T servlet; |
|
|
|
|