public abstract class AbstractDefinition extends Object
FilterDefinition
and ServletDefinition
.Modifier and Type | Method and Description |
---|---|
void |
addInitParameters(Map<String,String> initParams)
Add multiple init parameters to the filter or servlet definition.
|
Map<String,String> |
getInitParameters() |
String |
getName() |
boolean |
isAsyncSupported() |
void |
setAsyncSupported(boolean asyncSupported)
Sets if asynchronous requests are supported by this filter or servlet.
|
public String getName()
public Map<String,String> getInitParameters()
public void addInitParameters(Map<String,String> initParams)
initParams
- the init parameters to add.public boolean isAsyncSupported()
public void setAsyncSupported(boolean asyncSupported)
asyncSupported
- true if asynchronous requests are supported, false otherwise.Copyright © 2013-2018–2019 SeedStack. All rights reserved.