|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.boot.context.embedded.RegistrationBean
public abstract class RegistrationBean
Base class for Servlet 3.0+ based registration beans.
ServletRegistrationBean,
FilterRegistrationBean,
ServletListenerRegistrationBean| Constructor Summary | |
|---|---|
RegistrationBean()
|
|
| Method Summary | |
|---|---|
void |
addInitParameter(String name,
String value)
Add a single init-parameter, replacing any existing parameter with the same name. |
protected void |
configure(javax.servlet.Registration.Dynamic registration)
Configure registration base settings. |
Map<String,String> |
getInitParameters()
Returns a mutable Map of the registration init-parameters. |
protected String |
getOrDeduceName(Object value)
Deduces the name for this registration. |
boolean |
isAsyncSupported()
Returns if asynchronous operations are support for this registration. |
void |
setAsyncSupported(boolean asyncSupported)
Sets if asynchronous operations are support for this registration. |
void |
setInitParameters(Map<String,String> initParameters)
Set init-parameters for this registration. |
void |
setName(String name)
Set the name of this registration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.boot.context.embedded.ServletContextInitializer |
|---|
onStartup |
| Constructor Detail |
|---|
public RegistrationBean()
| Method Detail |
|---|
public void setName(String name)
public void setAsyncSupported(boolean asyncSupported)
true.
public boolean isAsyncSupported()
public void setInitParameters(Map<String,String> initParameters)
getInitParameters(),
addInitParameter(java.lang.String, java.lang.String)public Map<String,String> getInitParameters()
public void addInitParameter(String name,
String value)
name - the init-parameter namevalue - the init-parameter valueprotected final String getOrDeduceName(Object value)
value - the object used for convention based namesprotected void configure(javax.servlet.Registration.Dynamic registration)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||