Skip navigation links

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


oracle.stellent.wcm.javaee.servlet.filter
Class WCMSiteFilter

java.lang.Object
  extended by oracle.stellent.wcm.javaee.servlet.filter.WCMSiteFilter

All Implemented Interfaces:
javax.servlet.Filter

public class WCMSiteFilter
extends java.lang.Object
implements javax.servlet.Filter

Nested Class Summary
static class WCMSiteFilter.Action
           

 

Field Summary
static java.lang.String PARAM_EXCLUDE_BY_SITE_EXTENSION
           
static java.lang.String PARAM_EXCLUDE_FILTER
           
static java.lang.String SS_LINK
           
static java.lang.String SS_NODE_LINK
           

 

Constructor Summary
WCMSiteFilter()
           

 

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

 

Field Detail

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

Constructor Detail

WCMSiteFilter

public WCMSiteFilter()

Method Detail

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

Oracle® WebCenter Content Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-03


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.