@RestController
@RequestMapping(value="${crafter.core.rest.base.uri}/site/url")
public class SiteUrlController
extends org.craftercms.core.controller.rest.RestControllerBase
Modifier and Type | Field and Description |
---|---|
static String |
URL_ROOT |
static String |
URL_TRANSFORM |
protected UrlTransformationService |
urlTransformationService |
Constructor and Description |
---|
SiteUrlController() |
Modifier and Type | Method and Description |
---|---|
void |
setUrlTransformationService(UrlTransformationService urlTransformationService) |
String |
transformUrl(String transformerName,
String url) |
createMessageModel, handleAuthenticationException, handleException, handleForbiddenPathException, handleInvalidContextException, handlePathNotFoundException, handleValidationException, handleValidationRuntimeException
public static final String URL_ROOT
public static final String URL_TRANSFORM
protected UrlTransformationService urlTransformationService
public void setUrlTransformationService(UrlTransformationService urlTransformationService)
Copyright © 2020 CrafterCMS. All rights reserved.