@Configuration public class PingServletConfiguration extends Object
PingServlet
needed by some Android offline mode haxies.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SERVLET_URL_MAPPING |
static String |
SERVLET_CONFIGURATION_PARAMETER_PREFIX |
static String |
SERVLET_URL_MAPPING_PARAMETER_NAME |
| Constructor and Description |
|---|
PingServletConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected javax.servlet.http.HttpServlet |
createServlet() |
protected org.springframework.boot.context.embedded.ServletRegistrationBean |
createServletRegistrationBean() |
protected org.slf4j.Logger |
getLogger() |
protected Class<? extends javax.servlet.http.HttpServlet> |
getServletClass() |
protected String |
getServletConfigurationParameterPrefix() |
protected String |
getUrlMapping() |
public static final String SERVLET_CONFIGURATION_PARAMETER_PREFIX
public static final String SERVLET_URL_MAPPING_PARAMETER_NAME
public static final String DEFAULT_SERVLET_URL_MAPPING
protected String getServletConfigurationParameterPrefix()
protected Class<? extends javax.servlet.http.HttpServlet> getServletClass()
protected javax.servlet.http.HttpServlet createServlet()
protected org.slf4j.Logger getLogger()
protected String getUrlMapping()
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionprotected org.springframework.boot.context.embedded.ServletRegistrationBean createServletRegistrationBean()
Copyright © 2015. All rights reserved.