Package org.jboss.resteasy.core
Class ApplicationDescription.Builder
java.lang.Object
org.jboss.resteasy.core.ApplicationDescription.Builder
- Enclosing class:
ApplicationDescription
Builds an application description.
-
Method Details
-
of
Creates a new build based on the application.- Parameters:
application- the application to create the description for, cannot benull- Returns:
- the builder
-
type
Defines the type for the application. If set tonull, the type will be resolved from the application.- Parameters:
type- the applications class- Returns:
- the builder
-
path
Defines the path of the application. If set tonull, the path is resolved from theApplicationPath. If the application is not annotated, an attempt to look up the defined mapping is done. If neither can be found, the assumed path is/.- Parameters:
path- the path for the application- Returns:
- the builder
-
build
Builds the application description.- Returns:
- the application description
-