Skip navigation links
oracle.stellent.wcm.javaee.servlet.filter
Class WCMSiteFilter
java.lang.Object
oracle.stellent.wcm.javaee.servlet.filter.WCMSiteFilter
- All Implemented Interfaces:
- javax.servlet.Filter
-
public class WCMSiteFilter
- extends java.lang.Object
- implements javax.servlet.Filter
Method Summary |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain)
|
protected java.lang.String |
getRedirectPathForTokenizedLink(int ssLinkIndex, int ssNodeIndex, java.lang.String requestPath, ServletRequestContext servletRequestContext)
Get redirect path for links containing link or node link. |
void |
init(javax.servlet.FilterConfig filterConfig)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SS_LINK
public static final java.lang.String SS_LINK
-
- See Also:
- Constant Field Values
SS_NODE_LINK
public static final java.lang.String SS_NODE_LINK
-
- See Also:
- Constant Field Values
PARAM_EXCLUDE_FILTER
public static final java.lang.String PARAM_EXCLUDE_FILTER
-
- See Also:
- Constant Field Values
PARAM_EXCLUDE_BY_SITE_EXTENSION
public static final java.lang.String PARAM_EXCLUDE_BY_SITE_EXTENSION
-
- See Also:
- Constant Field Values
WCMSiteFilter
public WCMSiteFilter()
destroy
public void destroy()
-
- Specified by:
destroy
in interface javax.servlet.Filter
init
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
-
- Specified by:
init
in interface javax.servlet.Filter
-
- Throws:
javax.servlet.ServletException
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain)
throws java.io.IOException,
javax.servlet.ServletException
-
- Specified by:
doFilter
in interface javax.servlet.Filter
-
- Throws:
java.io.IOException
javax.servlet.ServletException
getRedirectPathForTokenizedLink
protected java.lang.String getRedirectPathForTokenizedLink(int ssLinkIndex,
int ssNodeIndex,
java.lang.String requestPath,
ServletRequestContext servletRequestContext)
throws ApplicationException,
java.io.IOException
- Get redirect path for links containing link or node link.
-
- Parameters:
servletRequestContext
- the servlet request
- Returns:
- true if the response was handled
- Throws:
ApplicationException
java.io.IOException
Skip navigation links
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.