|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.seo.service.CanonicalUrlService
public final class CanonicalUrlService
Canonical Url Service
| Method Summary | |
|---|---|
java.lang.String |
addCanonicalUrl(java.lang.String strContent,
javax.servlet.http.HttpServletRequest request,
java.util.Map<java.lang.String,java.lang.String> mapFriendlyUrls,
java.lang.String strBaseUrl)
Add canonical URL into an HTML page's content |
static CanonicalUrlService |
instance()
Return the unique instance |
boolean |
isCanonicalUrlsEnabled()
Tells if canonical urls are enabled |
void |
setCanonicalUrlsEnabled(boolean bEnabled)
Sets the status of Canonical URLs (Enabled or Disabled) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static CanonicalUrlService instance()
public boolean isCanonicalUrlsEnabled()
public void setCanonicalUrlsEnabled(boolean bEnabled)
bEnabled - The status
public java.lang.String addCanonicalUrl(java.lang.String strContent,
javax.servlet.http.HttpServletRequest request,
java.util.Map<java.lang.String,java.lang.String> mapFriendlyUrls,
java.lang.String strBaseUrl)
strContent - The HTML page's contentrequest - The HTTP requestmapFriendlyUrls - The map of friendly URLSstrBaseUrl - The Base URL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||