Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.webapp30 |
Provides the interfaces and enumeration types as defined in the schema
|
org.jboss.shrinkwrap.descriptor.api.webcommon30 |
Provides the interfaces and enumeration types as defined in the schema
|
org.jboss.shrinkwrap.descriptor.api.webfragment30 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
ErrorPageType<WebAppDescriptor> |
WebAppDescriptor.createErrorPage()
Creates a new
error-page element |
ErrorPageType<WebAppDescriptor> |
WebAppDescriptor.getOrCreateErrorPage()
If not already created, a new
error-page element will be created and returned. |
Modifier and Type | Method and Description |
---|---|
List<ErrorPageType<WebAppDescriptor>> |
WebAppDescriptor.getAllErrorPage()
Returns all
error-page elements |
Modifier and Type | Method and Description |
---|---|
ErrorPageType<T> |
ErrorPageType.errorCode(String errorCode)
Sets the
error-code element |
ErrorPageType<T> |
ErrorPageType.exceptionType(String exceptionType)
Sets the
exception-type element |
ErrorPageType<T> |
ErrorPageType.id(String id)
Sets the
id attribute |
ErrorPageType<T> |
ErrorPageType.location(String location)
Sets the
location element |
ErrorPageType<T> |
ErrorPageType.removeErrorCode()
Removes the
error-code element |
ErrorPageType<T> |
ErrorPageType.removeExceptionType()
Removes the
exception-type element |
ErrorPageType<T> |
ErrorPageType.removeId()
Removes the
id attribute |
ErrorPageType<T> |
ErrorPageType.removeLocation()
Removes the
location element |
Modifier and Type | Method and Description |
---|---|
ErrorPageType<WebFragmentDescriptor> |
WebFragmentDescriptor.createErrorPage()
Creates a new
error-page element |
ErrorPageType<WebFragmentDescriptor> |
WebFragmentDescriptor.getOrCreateErrorPage()
If not already created, a new
error-page element will be created and returned. |
Modifier and Type | Method and Description |
---|---|
List<ErrorPageType<WebFragmentDescriptor>> |
WebFragmentDescriptor.getAllErrorPage()
Returns all
error-page elements |
Copyright © 2022 JBoss by Red Hat. All rights reserved.