public static interface Registration.Dynamic extends Registration
Filterregistered via one of the addServlet or addFilter methods, respectively, on
ServletContextmay be further configured.
|Modifier and Type||Method and Description|
Configures the Servlet or Filter represented by this dynamic Registration as supporting asynchronous operations or not.
getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters
void setAsyncSupported(boolean isAsyncSupported)
By default, servlet and filters do not support asynchronous operations.
A call to this method overrides any previous setting.
isAsyncSupported- true if the Servlet or Filter represented by this dynamic Registration supports asynchronous operations, false otherwise
IllegalStateException- if the ServletContext from which this dynamic Registration was obtained has already been initialized
Copyright © 2020 JBoss by Red Hat. All rights reserved.