Package | Description |
---|---|
org.wildfly.swarm.undertow.descriptors |
Modifier and Type | Method and Description |
---|---|
Servlet |
WebXmlAsset.addServlet(String servletName,
String servletClass) |
default Servlet |
WebXmlContainer.addServlet(String servletName,
String servletClass)
Add a servlet.
|
Servlet |
WebXmlAsset.getServlet(String servletClass) |
default Servlet |
WebXmlContainer.servlet(String servletClass)
Retrieve a servlet by class.
|
Servlet |
Servlet.withAsyncSupported(boolean async) |
Servlet |
Servlet.withDescription(String description) |
Servlet |
Servlet.withDisplayName(String displayName) |
Servlet |
Servlet.withEnabled(boolean enabled) |
Servlet |
Servlet.withInitParam(String name,
String value) |
Servlet |
Servlet.withInitParams(Map<String,String> params) |
Servlet |
Servlet.withLoadOnStartup(Integer loadOnStartup) |
Servlet |
Servlet.withUrlPattern(String urlPattern) |
Servlet |
Servlet.withUrlPatterns(List<String> urlPatterns) |
Servlet |
Servlet.withUrlPatterns(String... urlPatterns) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.