public abstract class AbstractBaseController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected PropertiesService |
propertiesService |
protected PublicationResolver |
publicationResolver |
protected boolean |
removeContextPath
Boolean indicating if context path on the page URL should be removed, defaults to true
|
| Constructor and Description |
|---|
AbstractBaseController() |
| Modifier and Type | Method and Description |
|---|---|
protected static DateFormat |
createDateFormat()
Create Date format for last-modified headers.
|
PublicationResolver |
getPublicationResolver() |
protected void |
init() |
boolean |
removeContextPath() |
void |
setPublicationResolver(PublicationResolver publicationResolver) |
void |
setRemoveContextPath(boolean removeContextPath) |
protected PublicationResolver publicationResolver
protected PropertiesService propertiesService
protected boolean removeContextPath
@PostConstruct protected void init()
protected static DateFormat createDateFormat()
public void setRemoveContextPath(boolean removeContextPath)
public boolean removeContextPath()
public PublicationResolver getPublicationResolver()
public void setPublicationResolver(PublicationResolver publicationResolver)
Copyright © 2018. All rights reserved.