public class Servlet extends Object
Constructor and Description |
---|
Servlet(String servletName,
String servletClass) |
Modifier and Type | Method and Description |
---|---|
Boolean |
asyncSupported() |
String |
description() |
String |
displayName() |
boolean |
enabled() |
Map<String,String> |
initParams() |
Integer |
loadOnStartup() |
String |
servletClass() |
String |
servletName() |
List<String> |
urlPatterns() |
Servlet |
withAsyncSupported(boolean async) |
Servlet |
withDescription(String description) |
Servlet |
withDisplayName(String displayName) |
Servlet |
withEnabled(boolean enabled) |
Servlet |
withInitParam(String name,
String value) |
Servlet |
withInitParams(Map<String,String> params) |
Servlet |
withLoadOnStartup(Integer loadOnStartup) |
Servlet |
withUrlPattern(String urlPattern) |
Servlet |
withUrlPatterns(List<String> urlPatterns) |
Servlet |
withUrlPatterns(String... urlPatterns) |
public String servletName()
public String servletClass()
public String displayName()
public String description()
public Servlet withAsyncSupported(boolean async)
public Boolean asyncSupported()
public Integer loadOnStartup()
public Servlet withEnabled(boolean enabled)
public boolean enabled()
Copyright © 2020 JBoss by Red Hat. All rights reserved.