Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.webapp31 |
Provides the interfaces and enumeration types as defined in the schema
|
org.jboss.shrinkwrap.descriptor.api.webcommon31 |
Provides the interfaces and enumeration types as defined in the schema
|
org.jboss.shrinkwrap.descriptor.api.webfragment31 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
ServletType<WebAppDescriptor> |
WebAppDescriptor.createServlet()
Creates a new
servlet element |
ServletType<WebAppDescriptor> |
WebAppDescriptor.getOrCreateServlet()
If not already created, a new
servlet element will be created and returned. |
Modifier and Type | Method and Description |
---|---|
List<ServletType<WebAppDescriptor>> |
WebAppDescriptor.getAllServlet()
Returns all
servlet elements |
Modifier and Type | Method and Description |
---|---|
ServletType<T> |
ServletType.asyncSupported(Boolean asyncSupported)
Sets the
async-supported element |
ServletType<T> |
ServletType.description(String... values)
Creates for all String objects representing
description elements,
a new description element |
ServletType<T> |
ServletType.displayName(String... values)
Creates for all String objects representing
display-name elements,
a new display-name element |
ServletType<T> |
ServletType.enabled(Boolean enabled)
Sets the
enabled element |
ServletType<T> |
ServletType.id(String id)
Sets the
id attribute |
ServletType<T> |
ServletType.jspFile(String jspFile)
Sets the
jsp-file element |
ServletType<T> |
ServletType.loadOnStartup(Integer loadOnStartup)
Sets the
load-on-startup element |
ServletType<T> |
ServletType.removeAllDescription()
Removes the
description element |
ServletType<T> |
ServletType.removeAllDisplayName()
Removes the
display-name element |
ServletType<T> |
ServletType.removeAllIcon()
Removes all
icon elements |
ServletType<T> |
ServletType.removeAllInitParam()
Removes all
init-param elements |
ServletType<T> |
ServletType.removeAllSecurityRoleRef()
Removes all
security-role-ref elements |
ServletType<T> |
ServletType.removeAsyncSupported()
Removes the
async-supported element |
ServletType<T> |
ServletType.removeEnabled()
Removes the
enabled element |
ServletType<T> |
ServletType.removeId()
Removes the
id attribute |
ServletType<T> |
ServletType.removeJspFile()
Removes the
jsp-file element |
ServletType<T> |
ServletType.removeLoadOnStartup()
Removes the
load-on-startup element |
ServletType<T> |
ServletType.removeMultipartConfig()
Removes the
multipart-config element |
ServletType<T> |
ServletType.removeRunAs()
Removes the
run-as element |
ServletType<T> |
ServletType.removeServletClass()
Removes the
servlet-class element |
ServletType<T> |
ServletType.removeServletName()
Removes the
servlet-name element |
ServletType<T> |
ServletType.servletClass(String servletClass)
Sets the
servlet-class element |
ServletType<T> |
ServletType.servletName(String servletName)
Sets the
servlet-name element |
Modifier and Type | Method and Description |
---|---|
IconType<ServletType<T>> |
ServletType.createIcon()
Creates a new
icon element |
ParamValueType<ServletType<T>> |
ServletType.createInitParam()
Creates a new
init-param element |
SecurityRoleRefType<ServletType<T>> |
ServletType.createSecurityRoleRef()
Creates a new
security-role-ref element |
List<IconType<ServletType<T>>> |
ServletType.getAllIcon()
Returns all
icon elements |
List<ParamValueType<ServletType<T>>> |
ServletType.getAllInitParam()
Returns all
init-param elements |
List<SecurityRoleRefType<ServletType<T>>> |
ServletType.getAllSecurityRoleRef()
Returns all
security-role-ref elements |
IconType<ServletType<T>> |
ServletType.getOrCreateIcon()
If not already created, a new
icon element will be created and returned. |
ParamValueType<ServletType<T>> |
ServletType.getOrCreateInitParam()
If not already created, a new
init-param element will be created and returned. |
MultipartConfigType<ServletType<T>> |
ServletType.getOrCreateMultipartConfig()
If not already created, a new
multipart-config element with the given value will be created. |
RunAsType<ServletType<T>> |
ServletType.getOrCreateRunAs()
If not already created, a new
run-as element with the given value will be created. |
SecurityRoleRefType<ServletType<T>> |
ServletType.getOrCreateSecurityRoleRef()
If not already created, a new
security-role-ref element will be created and returned. |
Modifier and Type | Method and Description |
---|---|
ServletType<WebFragmentDescriptor> |
WebFragmentDescriptor.createServlet()
Creates a new
servlet element |
ServletType<WebFragmentDescriptor> |
WebFragmentDescriptor.getOrCreateServlet()
If not already created, a new
servlet element will be created and returned. |
Modifier and Type | Method and Description |
---|---|
List<ServletType<WebFragmentDescriptor>> |
WebFragmentDescriptor.getAllServlet()
Returns all
servlet elements |
Copyright © 2021 JBoss by Red Hat. All rights reserved.