Package io.wcm.wcm.commons.ui
Class DenyWcmDisabled
- java.lang.Object
-
- io.wcm.wcm.commons.ui.DenyWcmDisabled
-
@ProviderType @Model(adaptables=org.apache.sling.api.SlingHttpServletRequest.class) public class DenyWcmDisabled extends java.lang.Object
Set HTTP error code header if WCM mode is disabled. The status code can be changed by request attributeerrorCode
(defaults to HTTP 403 - access forbidden).
-
-
Constructor Summary
Constructors Constructor Description DenyWcmDisabled()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
activate()
-