Class AbstractMetadataController
java.lang.Object
io.spring.initializr.web.controller.AbstractMetadataController
- Direct Known Subclasses:
CommandLineMetadataController,ProjectMetadataController
A base controller that uses a
InitializrMetadataProvider.- Author:
- Stephane Nicoll
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractMetadataController(InitializrMetadataProvider metadataProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateUniqueId(String content) protected StringGenerate a full URL of the service, mostly for use in templates.
-
Field Details
-
metadataProvider
-
-
Constructor Details
-
AbstractMetadataController
-
-
Method Details
-
generateAppUrl
Generate a full URL of the service, mostly for use in templates.- Returns:
- the app URL
- See Also:
-
createUniqueId
-