|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jetty.servlet.Holder.HolderRegistration
protected class Holder.HolderRegistration
| 嵌套类摘要 |
|---|
| 从接口 javax.servlet.Registration 继承的嵌套类/接口 |
|---|
Registration.Dynamic |
| 构造方法摘要 | |
|---|---|
protected |
Holder.HolderRegistration()
|
| 方法摘要 | |
|---|---|
String |
getClassName()
Gets the fully qualified class name of the Servlet or Filter that is represented by this Registration. |
String |
getInitParameter(String name)
Gets the value of the initialization parameter with the given name that will be used to initialize the Servlet or Filter represented by this Registration object. |
Map<String,String> |
getInitParameters()
Gets an immutable (and possibly empty) Map containing the currently available initialization parameters that will be used to initialize the Servlet or Filter represented by this Registration object. |
String |
getName()
Gets the name of the Servlet or Filter that is represented by this Registration. |
void |
setAsyncSupported(boolean isAsyncSupported)
Configures the Servlet or Filter represented by this dynamic Registration as supporting asynchronous operations or not. |
void |
setDescription(String description)
|
boolean |
setInitParameter(String name,
String value)
Sets the initialization parameter with the given name and value on the Servlet or Filter that is represented by this Registration. |
Set<String> |
setInitParameters(Map<String,String> initParameters)
Sets the given initialization parameters on the Servlet or Filter that is represented by this Registration. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
protected Holder.HolderRegistration()
| 方法详细信息 |
|---|
public void setAsyncSupported(boolean isAsyncSupported)
Registration.Dynamic 复制的描述By default, servlet and filters do not support asynchronous operations.
A call to this method overrides any previous setting.
Registration.Dynamic 中的 setAsyncSupportedisAsyncSupported - true if the Servlet or Filter represented
by this dynamic Registration supports asynchronous operations,
false otherwisepublic void setDescription(String description)
public String getClassName()
Registration 复制的描述
Registration 中的 getClassNamepublic String getInitParameter(String name)
Registration 复制的描述
Registration 中的 getInitParametername - the name of the initialization parameter whose value is
requested
public Map<String,String> getInitParameters()
Registration 复制的描述
Registration 中的 getInitParameterspublic String getName()
Registration 复制的描述
Registration 中的 getName
public boolean setInitParameter(String name,
String value)
Registration 复制的描述
Registration 中的 setInitParametername - the initialization parameter namevalue - the initialization parameter value
public Set<String> setInitParameters(Map<String,String> initParameters)
Registration 复制的描述The given map of initialization parameters is processed
by-value, i.e., for each initialization parameter contained
in the map, this method calls Registration.setInitParameter(String,String).
If that method would return false for any of the
initialization parameters in the given map, no updates will be
performed, and false will be returned. Likewise, if the map contains
an initialization parameter with a null name or value, no
updates will be performed, and an IllegalArgumentException will be
thrown.
Registration 中的 setInitParametersinitParameters - the initialization parameters
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||