Class SiteUrlController
java.lang.Object
org.craftercms.core.controller.rest.RestControllerBase
org.craftercms.engine.controller.rest.SiteUrlController
@Validated
@RestController
@RequestMapping("${crafter.core.rest.base.uri}/site/url")
public class SiteUrlController
extends org.craftercms.core.controller.rest.RestControllerBase
REST controller to access the URL transformation service.
- Author:
- joseross
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
protected final UrlTransformationService
Fields inherited from class org.craftercms.core.controller.rest.RestControllerBase
MESSAGE_MODEL_ATTRIBUTE_NAME, REST_BASE_URI
-
Constructor Summary
-
Method Summary
Methods inherited from class org.craftercms.core.controller.rest.RestControllerBase
createResponseMessage, createSingletonModifiableMap
-
Field Details
-
URL_ROOT
- See Also:
-
URL_TRANSFORM
- See Also:
-
urlTransformationService
-
-
Constructor Details
-
SiteUrlController
@ConstructorProperties("urlTransformationService") public SiteUrlController(UrlTransformationService urlTransformationService)
-
-
Method Details
-
transformUrl
-